Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2011 14:59:57 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r224887 - user/adrian/if_ath_tx/sys/net80211
Message-ID:  <201108151459.p7FExv8j015196@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Aug 15 14:59:56 2011
New Revision: 224887
URL: http://svn.freebsd.org/changeset/base/224887

Log:
  Fix BAR handling - status == 0 means ACKed or "TX successful", non-zero
  means failure.

Modified:
  user/adrian/if_ath_tx/sys/net80211/ieee80211_ht.c

Modified: user/adrian/if_ath_tx/sys/net80211/ieee80211_ht.c
==============================================================================
--- user/adrian/if_ath_tx/sys/net80211/ieee80211_ht.c	Mon Aug 15 14:19:26 2011	(r224886)
+++ user/adrian/if_ath_tx/sys/net80211/ieee80211_ht.c	Mon Aug 15 14:59:56 2011	(r224887)
@@ -2200,7 +2200,7 @@ bar_tx_complete(struct ieee80211_node *n
 	    callout_pending(&tap->txa_timer)) {
 		struct ieee80211com *ic = ni->ni_ic;
 
-		if (status)		/* ACK'd */
+		if (status == 0)		/* ACK'd */
 			bar_stop_timer(tap);
 		ic->ic_bar_response(ni, tap, status);
 		/* NB: just let timer expire so we pace requests */



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