Date: Tue, 31 Jan 2012 22:27:36 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r230846 - head/sys/dev/ath Message-ID: <201201312227.q0VMRaNK057675@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201312227.q0VMRaNK057675>