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:
5e65968
)
ath9k: use the hw opmode to select the beacon timer mode
author
Felix Fietkau
<
[email protected]
>
Sat, 2 Apr 2011 01:39:48 +0000
(
03:39
+0200)
committer
John W. Linville
<
[email protected]
>
Thu, 7 Apr 2011 19:34:13 +0000
(15:34 -0400)
Since the beacon timers are global, the individual vif type should not
be used to determine the beacon timer configuration mode, use the
global opmode instead.
Signed-off-by: Felix Fietkau <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/beacon.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/beacon.c
b/drivers/net/wireless/ath/ath9k/beacon.c
index 24861b247b44d31573aa89243494e2c2ee02cf08..f6885278398a76dbe1c76fd6bc693827c0a07c48 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/beacon.c
+++ b/
drivers/net/wireless/ath/ath9k/beacon.c
@@
-700,7
+700,7
@@
void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
if (cur_conf->dtim_period == 0)
cur_conf->dtim_period = 1;
- switch (
iftyp
e) {
+ switch (
sc->sc_ah->opmod
e) {
case NL80211_IFTYPE_AP:
ath_beacon_config_ap(sc, cur_conf);
break;