summaryrefslogtreecommitdiff
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-23 13:55:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-23 13:55:14 +0000
commitb609c573555756f8a5d19f3c0b13426fc5f58528 (patch)
treed5a16b770570657f5fdc5d14040dfbe53e20ca2f /package/mac80211/patches
parentd60e82238b000feb49018ccd75b27a7cb9b9ecb9 (diff)
ath9k: fix setting channel bandwidth before bringing up interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/513-ath9k_channelbw_debugfs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
index ded102e144..ef568dc2ad 100644
--- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
+++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
@@ -51,7 +51,7 @@
+ return -EINVAL;
+
+ sc->chan_bw = chan_bw;
-+ if (!sc->ps_idle)
++ if (!(sc->sc_flags & SC_OP_INVALID))
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
+
+ return count;