aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-22 16:23:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-22 16:23:23 +0000
commit5c5fd69faa8132b32ba7730881cc264b9c02c39f (patch)
tree040131816595e02301e74aa46ed649c5f9fcf722 /package/mac80211
parentfb421cd98917838202303513fca0ce46d36c99f4 (diff)
downloadupstream-5c5fd69faa8132b32ba7730881cc264b9c02c39f.tar.gz
upstream-5c5fd69faa8132b32ba7730881cc264b9c02c39f.tar.bz2
upstream-5c5fd69faa8132b32ba7730881cc264b9c02c39f.zip
ath9k: fix operating state check on changing the channel bandwidth via debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33891 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/512-ath9k_channelbw_debugfs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
index d4087a0b28..88b6d29832 100644
--- a/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
+++ b/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
@@ -51,7 +51,7 @@
+ return -EINVAL;
+
+ sc->chan_bw = chan_bw;
-+ if (!(sc->sc_flags & SC_OP_INVALID))
++ if (!test_bit(SC_OP_INVALID, &sc->sc_flags))
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
+
+ return count;