diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-06-11 22:18:54 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 17:42:58 (GMT) |
commit | c9a4b35df9a5e24065e2dd80aa18a381da62339d (patch) | |
tree | 0b364e9b656821ff21eca05af88c7f2be15711cf /drivers | |
parent | e85d0918b54fbd9b38003752f7d665416b06edd8 (diff) | |
download | linux-fsl-qoriq-c9a4b35df9a5e24065e2dd80aa18a381da62339d.tar.xz |
[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 bbe067e..3bdc54d 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 |