aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/523-ath9k_channel_change_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-11 03:50:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-11 03:50:46 +0000
commit99698373f9c466aac5c3b28cbab2f798c4969497 (patch)
tree4ff0b02d2a2ab5d75b6d832f16313c3fe3b9236d /package/mac80211/patches/523-ath9k_channel_change_fix.patch
parent3310fdf6fa79766b58ca5e0f419cb8ed966f9e89 (diff)
downloadupstream-99698373f9c466aac5c3b28cbab2f798c4969497.tar.gz
upstream-99698373f9c466aac5c3b28cbab2f798c4969497.tar.bz2
upstream-99698373f9c466aac5c3b28cbab2f798c4969497.zip
ath9k: add another batch of stability updates and misc fixes
SVN-Revision: 22123
Diffstat (limited to 'package/mac80211/patches/523-ath9k_channel_change_fix.patch')
-rw-r--r--package/mac80211/patches/523-ath9k_channel_change_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/mac80211/patches/523-ath9k_channel_change_fix.patch b/package/mac80211/patches/523-ath9k_channel_change_fix.patch
new file mode 100644
index 0000000000..0f10cb38da
--- /dev/null
+++ b/package/mac80211/patches/523-ath9k_channel_change_fix.patch
@@ -0,0 +1,15 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -1244,9 +1244,11 @@ int ath9k_hw_reset(struct ath_hw *ah, st
+
+ if (!ah->chip_fullsleep) {
+ ath9k_hw_abortpcurecv(ah);
+- if (!ath9k_hw_stopdmarecv(ah))
++ if (!ath9k_hw_stopdmarecv(ah)) {
+ ath_print(common, ATH_DBG_XMIT,
+ "Failed to stop receive dma\n");
++ bChannelChange = false;
++ }
+ }
+
+ if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))