Date: Mon, 27 Oct 2008 17:43:23 +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: r184357 - head/sys/dev/ath Message-ID: <200810271743.m9RHhNpZ047171@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810271743.m9RHhNpZ047171>