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

Adrian Chadd adrian at FreeBSD.org
Tue Jan 31 22:27:36 UTC 2012


Author: adrian
Date: Tue Jan 31 22:27:35 2012
New Revision: 230846
URL: http://svn.freebsd.org/changeset/base/230846

Log:
  Correctly fetch the TX/RX stream count from the HAL.
  
  Pointy hat to: me

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Tue Jan 31 21:46:28 2012	(r230845)
+++ head/sys/dev/ath/if_ath.c	Tue Jan 31 22:27:35 2012	(r230846)
@@ -678,8 +678,8 @@ ath_attach(u_int16_t devid, struct ath_s
 		 * negotiating which MCS rates it'll receive and
 		 * what MCS rates are available for TX.
 		 */
-		(void) ath_hal_getcapability(ah, HAL_CAP_STREAMS, 0, &rxs);
-		(void) ath_hal_getcapability(ah, HAL_CAP_STREAMS, 1, &txs);
+		(void) ath_hal_getcapability(ah, HAL_CAP_STREAMS, 0, &txs);
+		(void) ath_hal_getcapability(ah, HAL_CAP_STREAMS, 1, &rxs);
 
 		ath_hal_getrxchainmask(ah, &sc->sc_rxchainmask);
 		ath_hal_gettxchainmask(ah, &sc->sc_txchainmask);


More information about the svn-src-head mailing list