svn commit: r184357 - head/sys/dev/ath

Sam Leffler sam at FreeBSD.org
Mon Oct 27 10:43:24 PDT 2008


Author: sam
Date: Mon Oct 27 17:43:23 2008
New Revision: 184357
URL: http://svn.freebsd.org/changeset/base/184357

Log:
  update the sta inactivity timer only if we actually received an ACK

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:41:32 2008	(r184356)
+++ head/sys/dev/ath/if_ath.c	Mon Oct 27 17:43:23 2008	(r184357)
@@ -5040,7 +5040,8 @@ ath_tx_processq(struct ath_softc *sc, st
 				pri = M_WME_GETAC(bf->bf_m);
 				if (pri >= WME_AC_VO)
 					ic->ic_wme.wme_hipri_traffic++;
-				ni->ni_inact = ni->ni_inact_reload;
+				if ((bf->bf_txflags & HAL_TXDESC_NOACK) == 0)
+					ni->ni_inact = ni->ni_inact_reload;
 			} else {
 				if (ts->ts_status & HAL_TXERR_XRETRY)
 					sc->sc_stats.ast_tx_xretries++;


More information about the svn-src-head mailing list