diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-12 21:28:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-12 21:28:18 +0000 |
commit | a7db0ceda4567732941b953b615bf09d2700f169 (patch) | |
tree | 215e5cb97842abd973e26b2b80d457c78a26cf7c /package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | |
parent | a43ae30e1bebe4d502ff1da4e715dd4cabcde83c (diff) | |
download | master-31e0f0ae-a7db0ceda4567732941b953b615bf09d2700f169.tar.gz master-31e0f0ae-a7db0ceda4567732941b953b615bf09d2700f169.tar.bz2 master-31e0f0ae-a7db0ceda4567732941b953b615bf09d2700f169.zip |
ath9k: fix sleep mode handling issues, should improve client mode reliability
SVN-Revision: 31265
Diffstat (limited to 'package/mac80211/patches/513-ath9k_channelbw_debugfs.patch')
-rw-r--r-- | package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch index 713a44339f..70919f09fe 100644 --- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch +++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch @@ -89,9 +89,9 @@ { struct ath_softc *sc = hw->priv; struct ath_hw *ah = sc->sc_ah; -@@ -1581,9 +1581,11 @@ static int ath9k_config(struct ieee80211 +@@ -1588,9 +1588,11 @@ static int ath9k_config(struct ieee80211 - if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { + if ((changed & IEEE80211_CONF_CHANGE_CHANNEL) || reset_channel) { struct ieee80211_channel *curchan = hw->conf.channel; + struct ath9k_channel *hchan; int pos = curchan->hw_value; @@ -101,7 +101,7 @@ if (ah->curchan) old_pos = ah->curchan - &ah->channels[0]; -@@ -1631,7 +1633,23 @@ static int ath9k_config(struct ieee80211 +@@ -1638,7 +1640,23 @@ static int ath9k_config(struct ieee80211 memset(&sc->survey[pos], 0, sizeof(struct survey_info)); } |