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)
SVN-Revision: 33290

package/mac80211/patches/300-pending_work.patch

index 34a0ceca4248e1b00ed81e39875a39b9c2572237..5cdf05c9af7ba8cb53dae740bcf3f9b052009c71 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();