ath9k: fix some tx aggregation issues - reduces the number of tx dma stop failures
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 572-ath9k_fix_tx_retry.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -484,7 +484,7 @@ static void ath_tx_complete_aggr(struct
4 */
5 txfail = 1;
6 } else if (fi->retries < ATH_MAX_SW_RETRIES) {
7 - if (!(ts->ts_status & ATH9K_TXERR_FILT) ||
8 + if (!(ts->ts_status & ATH9K_TXERR_FILT) &&
9 !an->sleeping)
10 ath_tx_set_retry(sc, txq, bf->bf_mpdu,
11 retries);