staging: et131x: Don't handle rx/tx packets when changing mtu
authorMark Einon <mark.einon@gmail.com>
Wed, 20 Aug 2014 22:17:52 +0000 (23:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:32:36 +0000 (13:32 -0700)
commitbcbadc04c5eb4fa21c44d523a0d3ed0e92f6b807
treeae16a28915eb625a35537dab2bf26a3c51c01d6b
parent36087dc1ed80c9d1a4081f7fbd180013378b9021
staging: et131x: Don't handle rx/tx packets when changing mtu

There's no need to handle any rx/tx interrupts in the middle of an mtu
change, so don't.

After this change, receive and transmit interrupts are only handled in
one place, which paves the way to using NAPI.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c