svn commit: r184359 - head/sys/dev/ath
Sam Leffler
sam at FreeBSD.org
Mon Oct 27 10:52:42 PDT 2008
Author: sam
Date: Mon Oct 27 17:52:41 2008
New Revision: 184359
URL: http://svn.freebsd.org/changeset/base/184359
Log:
correct callback status parameter; only indicate success when an ACK was
received
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Mon Oct 27 17:51:24 2008 (r184358)
+++ head/sys/dev/ath/if_ath.c Mon Oct 27 17:52:41 2008 (r184359)
@@ -5078,7 +5078,8 @@ ath_tx_processq(struct ath_softc *sc, st
*/
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.
*
More information about the svn-src-all
mailing list