1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

ar9280SetAntennaSwitch() was using the AR5416 chainmasks (3 chains)

rather than the AR9280 chainmasks (2 chains)
This commit is contained in:
Adrian Chadd 2011-01-20 15:09:11 +00:00
parent 1161b88d4a
commit 1e659efff7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217641

View File

@ -717,8 +717,8 @@ ar9280SetAntennaSwitch(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 = AR9280_DEFAULT_TXCHAINMASK;
ahp->ah_rx_chainmask = AR9280_DEFAULT_RXCHAINMASK;
break;
}
return AH_TRUE;