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 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();