diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_calib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_calib.c b/drivers/net/wireless/ath/ath9k/ar9002_calib.c index fe7418aefc4a..d4ee07084c4d 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_calib.c | |||
@@ -710,10 +710,6 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah, | |||
710 | 710 | ||
711 | /* Do NF cal only at longer intervals */ | 711 | /* Do NF cal only at longer intervals */ |
712 | if (longcal || nfcal_pending) { | 712 | if (longcal || nfcal_pending) { |
713 | /* Do periodic PAOffset Cal */ | ||
714 | ar9002_hw_pa_cal(ah, false); | ||
715 | ar9002_hw_olc_temp_compensation(ah); | ||
716 | |||
717 | /* | 713 | /* |
718 | * Get the value from the previous NF cal and update | 714 | * Get the value from the previous NF cal and update |
719 | * history buffer. | 715 | * history buffer. |
@@ -728,8 +724,12 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah, | |||
728 | ath9k_hw_loadnf(ah, ah->curchan); | 724 | ath9k_hw_loadnf(ah, ah->curchan); |
729 | } | 725 | } |
730 | 726 | ||
731 | if (longcal) | 727 | if (longcal) { |
732 | ath9k_hw_start_nfcal(ah, false); | 728 | ath9k_hw_start_nfcal(ah, false); |
729 | /* Do periodic PAOffset Cal */ | ||
730 | ar9002_hw_pa_cal(ah, false); | ||
731 | ar9002_hw_olc_temp_compensation(ah); | ||
732 | } | ||
733 | } | 733 | } |
734 | 734 | ||
735 | return iscaldone; | 735 | return iscaldone; |