aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et131x.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2014-08-20 23:17:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-30 13:32:36 -0700
commitbcbadc04c5eb4fa21c44d523a0d3ed0e92f6b807 (patch)
treeae16a28915eb625a35537dab2bf26a3c51c01d6b /drivers/staging/et131x/et131x.c
parentstaging: et131x: Use eth_mac_addr() instead of duplicating the functionality (diff)
downloadlinux-dev-bcbadc04c5eb4fa21c44d523a0d3ed0e92f6b807.tar.xz
linux-dev-bcbadc04c5eb4fa21c44d523a0d3ed0e92f6b807.zip
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>
Diffstat (limited to 'drivers/staging/et131x/et131x.c')
-rw-r--r--drivers/staging/et131x/et131x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index 602925c83f4c..83b3b1eb468f 100644
--- a/drivers/staging/et131x/et131x.c
+++ b/drivers/staging/et131x/et131x.c
@@ -4447,8 +4447,6 @@ static int et131x_change_mtu(struct net_device *netdev, int new_mtu)
return -EINVAL;
et131x_disable_txrx(netdev);
- et131x_handle_send_interrupt(adapter);
- et131x_handle_recv_interrupt(adapter);
/* Set the new MTU */
netdev->mtu = new_mtu;