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
commit1f4a550847316d9c238e631b6164381b8b07394a (patch)
tree644acbdd6ddac63ffee535ab141f4382e6047ae2 /package/mac80211/patches/523-ath9k_channel_change_fix.patch
parent422138d2f330aefc2147cce89f8fb0f4b484086b (diff)
downloadupstream-1f4a550847316d9c238e631b6164381b8b07394a.tar.gz
upstream-1f4a550847316d9c238e631b6164381b8b07394a.tar.bz2
upstream-1f4a550847316d9c238e631b6164381b8b07394a.zip
ath9k: add another batch of stability updates and misc fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22123 3c298f89-4303-0410-b956-a3cf2f4a3e73
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))