aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_main.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index 5124d04b240b..f12591f5d02a 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -760,23 +760,12 @@ void ath9k_ani_work(struct work_struct *work)
760 ath9k_hw_ani_monitor(ah, ah->curchan); 760 ath9k_hw_ani_monitor(ah, ah->curchan);
761 761
762 /* Perform calibration if necessary */ 762 /* Perform calibration if necessary */
763 if (longcal || shortcal) { 763 if (longcal || shortcal)
764 common->ani.caldone = 764 common->ani.caldone =
765 ath9k_hw_calibrate(ah, ah->curchan, 765 ath9k_hw_calibrate(ah, ah->curchan,
766 common->rx_chainmask, 766 common->rx_chainmask,
767 longcal); 767 longcal);
768 768
769 if (longcal)
770 common->ani.noise_floor =
771 ath9k_hw_getchan_noise(ah, ah->curchan);
772
773 ath_print(common, ATH_DBG_ANI,
774 " calibrate chan %u/%x nf: %d\n",
775 ah->curchan->channel,
776 ah->curchan->channelFlags,
777 common->ani.noise_floor);
778 }
779
780 ath9k_htc_ps_restore(priv); 769 ath9k_htc_ps_restore(priv);
781 } 770 }
782 771