From c965569d21df56e7ee402b0bb53b563126beedf5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 29 Aug 2012 08:16:34 +0000 Subject: [PATCH] ath9k: add fix to improve reliability of powersave clients SVN-Revision: 33290 --- package/mac80211/patches/300-pending_work.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 34a0ceca42..5cdf05c9af 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3486,6 +3486,15 @@ /*********************/ /* Aggregation logic */ /*********************/ +@@ -593,7 +568,7 @@ static void ath_tx_complete_aggr(struct + if (!an->sleeping) { + ath_tx_queue_tid(txq, tid); + +- if (ts->ts_status & ATH9K_TXERR_FILT) ++ if (ts->ts_status & (ATH9K_TXERR_FILT | ATH9K_TXERR_XRETRY)) + tid->ac->clear_ps_filter = true; + } + } @@ -614,10 +589,8 @@ static void ath_tx_complete_aggr(struct rcu_read_unlock();