]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/net/wireless/ath/ath9k/xmit.c
ath9k: fix tx status reporting
[linux-beck.git] / drivers / net / wireless / ath / ath9k / xmit.c
index 564c6cb1c2b4b0530a90415c7a4bb2c71ff49e71..2a11cc57ceeae891b2ef7a0f8c1bbf105e9a7f17 100644 (file)
@@ -2078,7 +2078,7 @@ static void ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
                                &txq->axq_q, lastbf->list.prev);
 
                txq->axq_depth--;
-               txok = (ds->ds_txstat.ts_status == 0);
+               txok = !(ds->ds_txstat.ts_status & ATH9K_TXERR_FILT);
                txq->axq_tx_inprogress = false;
                spin_unlock_bh(&txq->axq_lock);