From: Olof Johansson Date: Wed, 23 Jan 2008 19:57:19 +0000 (-0600) Subject: pasemi_mac: Disable interface on close X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1145d954a51df9362d7eaa2c68405fc226418f34;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git pasemi_mac: Disable interface on close Turns out we never disable the interface. It doesn't really cause any problems since the channel is off, but it's still better to do it this way. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index 059c6b04dc8..2e39e0285d8 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c @@ -1287,6 +1287,7 @@ static int pasemi_mac_close(struct net_device *dev) pasemi_mac_pause_txchan(mac); pasemi_mac_pause_rxint(mac); pasemi_mac_pause_rxchan(mac); + pasemi_mac_intf_disable(mac); free_irq(mac->tx->chan.irq, mac->tx); free_irq(mac->rx->chan.irq, mac->rx);