summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-25 18:34:54 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-25 18:34:54 +0000
commit44d9465e637f5976f78edf5e694a18a5a251e470 (patch)
treea3c7f9625a15c3534d2a2da6f7460c1799c0ddc9 /package/mac80211/patches/572-ath9k_fix_tx_retry.patch
parentbf31710a545ddadf520ceb832b23c6f949f60d2b (diff)
ath9k: fix some tx aggregation issues - reduces the number of tx dma stop failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/572-ath9k_fix_tx_retry.patch')
-rw-r--r--package/mac80211/patches/572-ath9k_fix_tx_retry.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/572-ath9k_fix_tx_retry.patch b/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
new file mode 100644
index 000000000..755c3286e
--- /dev/null
+++ b/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -484,7 +484,7 @@ static void ath_tx_complete_aggr(struct
+ */
+ txfail = 1;
+ } else if (fi->retries < ATH_MAX_SW_RETRIES) {
+- if (!(ts->ts_status & ATH9K_TXERR_FILT) ||
++ if (!(ts->ts_status & ATH9K_TXERR_FILT) &&
+ !an->sleeping)
+ ath_tx_set_retry(sc, txq, bf->bf_mpdu,
+ retries);