Fix a regression I introduced - only swap analog chains if the RX chainmask

is 0x5.
This commit is contained in:
Adrian Chadd 2011-05-09 17:10:48 +00:00
parent e8def8942a
commit 48d813ef34

View File

@ -1296,7 +1296,8 @@ ar5416InitChainMasks(struct ath_hal *ah)
{
int rx_chainmask = AH5416(ah)->ah_rx_chainmask;
if (rx_chainmask)
/* Flip this for this chainmask regardless of chip */
if (rx_chainmask == 0x5)
OS_REG_SET_BIT(ah, AR_PHY_ANALOG_SWAP, AR_PHY_SWAP_ALT_CHAIN);
/*