Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2008 23:21:03 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 151527 for review
Message-ID:  <200810182321.m9INL3Ax076996@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151527

Change 151527 by sam@sam_ebb on 2008/10/18 23:20:20

	don't indicate success status in the tx callback unless the frame
	was ACK'd

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#99 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#99 (text+ko) ====

@@ -5091,7 +5091,8 @@
 			 */
 			if (bf->bf_m->m_flags & M_TXCB)
 				ieee80211_process_callback(ni, bf->bf_m,
-					ts->ts_status);
+				    (bf->bf_flags & HAL_TXDESC_NOACK) == 0 ?
+				        ts->ts_status : HAL_TXERR_XRETRY);
 			/*
 			 * Reclaim reference to node.
 			 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810182321.m9INL3Ax076996>