diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-06-12 00:18:54 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 19:42:58 +0200 |
commit | c9a4b35df9a5e24065e2dd80aa18a381da62339d (patch) | |
tree | 0b364e9b656821ff21eca05af88c7f2be15711cf /drivers | |
parent | [PATCH] ZyDAS ZD1211 USB-WLAN driver (diff) | |
download | linux-c9a4b35df9a5e24065e2dd80aa18a381da62339d.tar.xz linux-c9a4b35df9a5e24065e2dd80aa18a381da62339d.zip |
[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')
-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 bbe067ec7de1..3bdc54d128d0 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 |