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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"