ath9k: add fix to improve reliability of powersave clients
authorFelix Fietkau <nbd@openwrt.org>
Wed, 29 Aug 2012 08:16:34 +0000 (08:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 29 Aug 2012 08:16:34 +0000 (08:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33290 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/300-pending_work.patch

index 34a0cec..5cdf05c 100644 (file)
  /*********************/
  /* 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();