summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-02 01:10:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-02 01:10:01 +0000
commit997a13bb0d21b2a245b646b67577d81a82ee8774 (patch)
tree48ac3787a93923dda967fab185b70104507331d4 /package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch
parentabc719ecfdda0ac7a916c66e55ccbe1d9569cad4 (diff)
ath9k: fix adhoc beacon issues (#9163)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26395 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch')
-rw-r--r--package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch b/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch
new file mode 100644
index 000000000..4ba74f86d
--- /dev/null
+++ b/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch
@@ -0,0 +1,11 @@
+--- 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
+ if (cur_conf->dtim_period == 0)
+ cur_conf->dtim_period = 1;
+
+- switch (iftype) {
++ switch (sc->sc_ah->opmode) {
+ case NL80211_IFTYPE_AP:
+ ath_beacon_config_ap(sc, cur_conf);
+ break;