diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-04-09 13:58:54 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-04-09 13:58:54 +0000 |
commit | f09468c0e17e4387cb6b425feab187243926bcc4 (patch) | |
tree | a0b20cb91ec5b6f8bcf756400779f6e113c32d83 | |
parent | 6e781e21dbc7cd56e89be117eca5be95fa79b65b (diff) | |
download | FreeBSD-src-f09468c0e17e4387cb6b425feab187243926bcc4.zip FreeBSD-src-f09468c0e17e4387cb6b425feab187243926bcc4.tar.gz |
Setup the correct RX/TX chainmask when we play with the antenna
settings.
MFC after: 1 week
Sponsored by: iXsystems, inc
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar9285_attach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c b/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c index 946133a..ef8c955 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c +++ b/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c @@ -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; |