correct callback status parameter; only indicate success when an ACK was

received
This commit is contained in:
Sam Leffler 2008-10-27 17:52:41 +00:00
parent 84784be1ae
commit 74eca0c26f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184359

View File

@ -5078,7 +5078,8 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
*/
if (bf->bf_m->m_flags & M_TXCB)
ieee80211_process_callback(ni, bf->bf_m,
ts->ts_status);
(bf->bf_txflags & HAL_TXDESC_NOACK) == 0 ?
ts->ts_status : HAL_TXERR_XRETRY);
/*
* Reclaim reference to node.
*