diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-25 11:19:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-27 14:16:18 -0400 |
commit | 7b89fccf1547722115538976e0d9b989f5e12e9b (patch) | |
tree | 23111a7ff33be5128180871840827ba0fb2799f9 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 6339244b3ba0fe1440c640f6a699b59ae4138269 (diff) |
ath9k_hw: start initial NF calibration after PA calibration on <AR9003
This makes the initial NF calibration less likely to fail.
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/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 8be4b1453394..85a78176b809 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -1953,8 +1953,10 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, | |||
1953 | if (ath9k_hw_mci_is_enabled(ah)) | 1953 | if (ath9k_hw_mci_is_enabled(ah)) |
1954 | ar9003_mci_check_bt(ah); | 1954 | ar9003_mci_check_bt(ah); |
1955 | 1955 | ||
1956 | ath9k_hw_loadnf(ah, chan); | 1956 | if (AR_SREV_9300_20_OR_LATER(ah)) { |
1957 | ath9k_hw_start_nfcal(ah, true); | 1957 | ath9k_hw_loadnf(ah, chan); |
1958 | ath9k_hw_start_nfcal(ah, true); | ||
1959 | } | ||
1958 | 1960 | ||
1959 | if (AR_SREV_9300_20_OR_LATER(ah)) | 1961 | if (AR_SREV_9300_20_OR_LATER(ah)) |
1960 | ar9003_hw_bb_watchdog_config(ah); | 1962 | ar9003_hw_bb_watchdog_config(ah); |