Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 17:52:41 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184359 - head/sys/dev/ath
Message-ID:  <200810271752.m9RHqfCd047411@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
 			 *



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