mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 17:31:44 +02:00
3d7914783f
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23154 3c298f89-4303-0410-b956-a3cf2f4a3e73
28 lines
746 B
Diff
28 lines
746 B
Diff
--- 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 *
|
|
ath9k_hw_ani_monitor(ah, ah->curchan);
|
|
|
|
/* Perform calibration if necessary */
|
|
- if (longcal || shortcal) {
|
|
+ if (longcal || shortcal)
|
|
common->ani.caldone =
|
|
ath9k_hw_calibrate(ah, ah->curchan,
|
|
common->rx_chainmask,
|
|
longcal);
|
|
|
|
- if (longcal)
|
|
- common->ani.noise_floor =
|
|
- ath9k_hw_getchan_noise(ah, ah->curchan);
|
|
-
|
|
- ath_print(common, ATH_DBG_ANI,
|
|
- " calibrate chan %u/%x nf: %d\n",
|
|
- ah->curchan->channel,
|
|
- ah->curchan->channelFlags,
|
|
- common->ani.noise_floor);
|
|
- }
|
|
-
|
|
ath9k_htc_ps_restore(priv);
|
|
}
|
|
|