projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e85d091
)
[PATCH] zd1211rw: disable TX queue during stop
author
Daniel Drake
<dsd@gentoo.org>
Sun, 11 Jun 2006 22:18:54 +0000
(23:18 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 5 Jul 2006 17:42:58 +0000
(13:42 -0400)
This avoids some potential races.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/zd1211rw/zd_mac.c
b/drivers/net/wireless/zd1211rw/zd_mac.c
index bbe067ec7de1c380429147e836c86be5f1c54f65..3bdc54d128d0613cb5ead20e81a1b642b4f0efd4 100644
(file)
--- 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