aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-01-23 14:57:19 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:27:55 -0500
commit1145d954a51df9362d7eaa2c68405fc226418f34 (patch)
treed29417888ba1b7fb5de123700deedb35a1bac5ae /drivers/net
parentef1ea0b424d09452b27f5cb1a0c108b645cb25e0 (diff)
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 <olof@lixom.net> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pasemi_mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 059c6b04dc8f..2e39e0285d8f 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)
1287 pasemi_mac_pause_txchan(mac); 1287 pasemi_mac_pause_txchan(mac);
1288 pasemi_mac_pause_rxint(mac); 1288 pasemi_mac_pause_rxint(mac);
1289 pasemi_mac_pause_rxchan(mac); 1289 pasemi_mac_pause_rxchan(mac);
1290 pasemi_mac_intf_disable(mac);
1290 1291
1291 free_irq(mac->tx->chan.irq, mac->tx); 1292 free_irq(mac->tx->chan.irq, mac->tx);
1292 free_irq(mac->rx->chan.irq, mac->rx); 1293 free_irq(mac->rx->chan.irq, mac->rx);