mac80211: update to compat-wireless 2009-12-05 and fix a critical bug in ath9k tx...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 540-ath9k_tx_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -2078,7 +2078,7 @@ static void ath_tx_processq(struct ath_s
4 &txq->axq_q, lastbf->list.prev);
5
6 txq->axq_depth--;
7 - txok = (ds->ds_txstat.ts_status == 0);
8 + txok = !(ds->ds_txstat.ts_status & ATH9K_TXERR_FILT);
9 txq->axq_tx_inprogress = false;
10 spin_unlock_bh(&txq->axq_lock);
11