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 | 5fbacb2ef8f88f517b6e7be14566e348d00c1049 (patch) | |
tree | d5a16b770570657f5fdc5d14040dfbe53e20ca2f /package/mac80211 | |
parent | 78a3a358047a0cd2cc09e4320fda0e2d71ffdd82 (diff) | |
download | upstream-5fbacb2ef8f88f517b6e7be14566e348d00c1049.tar.gz upstream-5fbacb2ef8f88f517b6e7be14566e348d00c1049.tar.bz2 upstream-5fbacb2ef8f88f517b6e7be14566e348d00c1049.zip |
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')
-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 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; |