projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f90916
)
zd1211rw: stop beacons on remove_interface
author
Luis Carlos Cobo
<
[email protected]
>
Tue, 8 Jul 2008 14:19:21 +0000
(16:19 +0200)
committer
John W. Linville
<
[email protected]
>
Wed, 9 Jul 2008 20:16:32 +0000
(16:16 -0400)
If a mesh or ad-hoc interface is brought up and later it is replaced
by managed interface, the managed interface will keep transmitting
the beacons that were configured for the former interface. This patch
fixes that behaviour.
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/zd1211rw/zd_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/zd1211rw/zd_mac.c
b/drivers/net/wireless/zd1211rw/zd_mac.c
index 418606ac1c3be8263b8f62bd9f15b00763254705..694e95d35fd437afc0dcf269ad20ec98232ef648 100644
(file)
--- a/
drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/
drivers/net/wireless/zd1211rw/zd_mac.c
@@
-765,6
+765,7
@@
static void zd_op_remove_interface(struct ieee80211_hw *hw,
{
struct zd_mac *mac = zd_hw_mac(hw);
mac->type = IEEE80211_IF_TYPE_INVALID;
+ zd_set_beacon_interval(&mac->chip, 0);
zd_write_mac_addr(&mac->chip, NULL);
}