From owner-p4-projects@FreeBSD.ORG Thu Jan 8 22:53:02 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 769B116A4D1; Thu, 8 Jan 2004 22:53:02 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51D5C16A4CE for ; Thu, 8 Jan 2004 22:53:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 776A443D48 for ; Thu, 8 Jan 2004 22:53:01 -0800 (PST) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i096r10B056968 for ; Thu, 8 Jan 2004 22:53:01 -0800 (PST) (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i096r0AR056965 for perforce@freebsd.org; Thu, 8 Jan 2004 22:53:00 -0800 (PST) (envelope-from sam@freebsd.org) Date: Thu, 8 Jan 2004 22:53:00 -0800 (PST) Message-Id: <200401090653.i096r0AR056965@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 45000 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 06:53:02 -0000 http://perforce.freebsd.org/chv.cgi?CH=45000 Change 45000 by sam@sam_ebb on 2004/01/08 22:52:44 correct check for use of an alternate xmit rate Affected files ... .. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#10 edit Differences ... ==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#10 (text+ko) ==== @@ -2246,7 +2246,7 @@ if (ds->ds_txstat.ts_status == 0) { an->an_tx_ok++; an->an_tx_antenna = ds->ds_txstat.ts_antenna; - if (ds->ds_txstat.ts_rate != 0) + if (ds->ds_txstat.ts_rate & HAL_TXSTAT_ALTRATE) sc->sc_stats.ast_tx_altrate++; } else { an->an_tx_err++;