projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: fix operating state check on changing the channel bandwidth via debugfs
[openwrt.git]
/
package
/
mac80211
/
patches
/
512-ath9k_channelbw_debugfs.patch
diff --git
a/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
b/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
index
d4087a0
..
88b6d29
100644
(file)
--- 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;