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:
rpaulo 2010-04-09 13:58:54 +00:00
parent 6e781e21db
commit f09468c0e1

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;