summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
blob: 755c3286e5468fc3c9aae1bfca6357377bdc7364 (plain)
1
2
3
4
5
6
7
8
9
10
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);