From owner-svn-src-head@FreeBSD.ORG Mon Oct 27 17:43:24 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F26A61065673; Mon, 27 Oct 2008 17:43:23 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D9CF78FC16; Mon, 27 Oct 2008 17:43:23 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9RHhNSC047173; Mon, 27 Oct 2008 17:43:23 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9RHhNpZ047171; Mon, 27 Oct 2008 17:43:23 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200810271743.m9RHhNpZ047171@svn.freebsd.org> From: Sam Leffler Date: Mon, 27 Oct 2008 17:43:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184357 - head/sys/dev/ath X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 17:43:24 -0000 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++;