diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-06-11 23:18:54 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 13:42:58 -0400 |
commit | c9a4b35df9a5e24065e2dd80aa18a381da62339d (patch) | |
tree | 0b364e9b656821ff21eca05af88c7f2be15711cf /drivers/net/wireless/zd1211rw | |
parent | e85d0918b54fbd9b38003752f7d665416b06edd8 (diff) |
[PATCH] zd1211rw: disable TX queue during stop
This avoids some potential races.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index bbe067ec7de..3bdc54d128d 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c @@ -197,6 +197,8 @@ int zd_mac_stop(struct net_device *netdev) struct zd_mac *mac = zd_netdev_mac(netdev); struct zd_chip *chip = &mac->chip; + netif_stop_queue(netdev); + /* * The order here deliberately is a little different from the open() * method, since we need to make sure there is no opportunity for RX |