From de84755f8716a2516393c6366298c87919707bf7 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Apr 2012 21:28:18 +0000 Subject: ath9k: fix sleep mode handling issues, should improve client mode reliability git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31265 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/mac80211/patches/513-ath9k_channelbw_debugfs.patch') diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch index 713a44339..70919f09f 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)); } -- cgit v1.2.3