diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-20 21:55:20 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 14:33:43 -0500 |
commit | 4a8f199508d79ff8a7d1e22f47b912baaf225336 (patch) | |
tree | 63ccd24b433b4b2e59799ebe29c7bb02126ac3a7 /drivers/net/wireless/ath/ath9k/ar9003_calib.c | |
parent | 430d25251ef3c36404e6b4a7eaaae35e225bc8e7 (diff) | |
download | lwn-4a8f199508d79ff8a7d1e22f47b912baaf225336.tar.gz lwn-4a8f199508d79ff8a7d1e22f47b912baaf225336.zip |
ath9k_hw: fix calibration issues on chainmask that don't include chain 0
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_calib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c index 8b0d8dcd7625..56317b0fb6b6 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c @@ -976,6 +976,8 @@ static bool ar9003_hw_init_cal(struct ath_hw *ah, AR_PHY_CL_TAB_1, AR_PHY_CL_TAB_2 }; + ar9003_hw_set_chain_masks(ah, ah->caps.rx_chainmask, ah->caps.tx_chainmask); + if (rtt) { if (!ar9003_hw_rtt_restore(ah, chan)) run_rtt_cal = true; |