diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-23 13:55:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-23 13:55:14 +0000 |
commit | 8a33526c4eba06c1453d73cf5e44d39c23daaf12 (patch) | |
tree | ffc74869db7a997b22ddbb610ddd85ac3355bdcd /package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | |
parent | 9389593db9053a7585c375ac322cfbf88e9f2c19 (diff) | |
download | mtk-20170518-8a33526c4eba06c1453d73cf5e44d39c23daaf12.zip mtk-20170518-8a33526c4eba06c1453d73cf5e44d39c23daaf12.tar.gz mtk-20170518-8a33526c4eba06c1453d73cf5e44d39c23daaf12.tar.bz2 |
ath9k: fix setting channel bandwidth before bringing up interfaces
SVN-Revision: 29295
Diffstat (limited to 'package/mac80211/patches/513-ath9k_channelbw_debugfs.patch')
-rw-r--r-- | package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | 2 |
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 ded102e..ef568dc 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; |