aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-23 15:29:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-23 15:29:25 +0000
commitc32d740d5e7b6abf96a7689d3e85fe6d24676837 (patch)
treec7bd76bd7fd1c59eaadea53b3d95a2f7c3990b98 /package/mac80211
parent72cfec3f6e8c867a4d785ed58edcb004b6d9a082 (diff)
downloadupstream-c32d740d5e7b6abf96a7689d3e85fe6d24676837.tar.gz
upstream-c32d740d5e7b6abf96a7689d3e85fe6d24676837.tar.bz2
upstream-c32d740d5e7b6abf96a7689d3e85fe6d24676837.zip
ath9k: fix an aggregation hang issue that happens when a hardware reset is issued
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/570-ath9k_reset_aggr_fix.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/mac80211/patches/570-ath9k_reset_aggr_fix.patch b/package/mac80211/patches/570-ath9k_reset_aggr_fix.patch
new file mode 100644
index 0000000000..d4b52ed33a
--- /dev/null
+++ b/package/mac80211/patches/570-ath9k_reset_aggr_fix.patch
@@ -0,0 +1,42 @@
+--- a/drivers/net/wireless/ath/ath9k/main.c
++++ b/drivers/net/wireless/ath/ath9k/main.c
+@@ -587,7 +587,7 @@ void ath_hw_check(struct work_struct *wo
+
+ msleep(1);
+ }
+- ath_reset(sc, false);
++ ath_reset(sc, true);
+
+ out:
+ ath9k_ps_restore(sc);
+@@ -605,7 +605,7 @@ void ath9k_tasklet(unsigned long data)
+ ath9k_ps_wakeup(sc);
+
+ if (status & ATH9K_INT_FATAL) {
+- ath_reset(sc, false);
++ ath_reset(sc, true);
+ ath9k_ps_restore(sc);
+ return;
+ }
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -2163,7 +2163,7 @@ static void ath_tx_complete_poll_work(st
+ ath_print(ath9k_hw_common(sc->sc_ah), ATH_DBG_RESET,
+ "tx hung, resetting the chip\n");
+ ath9k_ps_wakeup(sc);
+- ath_reset(sc, false);
++ ath_reset(sc, true);
+ ath9k_ps_restore(sc);
+ }
+
+--- a/drivers/net/wireless/ath/ath9k/beacon.c
++++ b/drivers/net/wireless/ath/ath9k/beacon.c
+@@ -370,7 +370,7 @@ void ath_beacon_tasklet(unsigned long da
+ ath_print(common, ATH_DBG_BSTUCK,
+ "beacon is officially stuck\n");
+ sc->sc_flags |= SC_OP_TSF_RESET;
+- ath_reset(sc, false);
++ ath_reset(sc, true);
+ }
+
+ return;