PERFORCE change 45000 for review

Sam Leffler sam at FreeBSD.org
Thu Jan 8 22:53:02 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=45000

Change 45000 by sam at 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++;


More information about the p4-projects mailing list