1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Setup the correct RX/TX chainmask when we play with the antenna

settings.

MFC after:	1 week
Sponsored by:	iXsystems, inc
This commit is contained in:
Rui Paulo 2010-04-09 13:58:54 +00:00
parent 645fe19a04
commit a1d99827dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206420

View File

@ -378,8 +378,8 @@ ar9285SetAntennaSwitch(struct ath_hal *ah, HAL_ANT_SETTING settings)
case HAL_ANT_VARIABLE:
/* Restore original chainmask settings */
/* XXX */
ahp->ah_tx_chainmask = AR5416_DEFAULT_TXCHAINMASK;
ahp->ah_rx_chainmask = AR5416_DEFAULT_RXCHAINMASK;
ahp->ah_tx_chainmask = AR9285_DEFAULT_TXCHAINMASK;
ahp->ah_rx_chainmask = AR9285_DEFAULT_RXCHAINMASK;
break;
}
return AH_TRUE;