ath9k: fix regulatory issues with multiple cards
[openwrt.git] / package / mac80211 / patches / 510-ath9k_htc_remove_ani_nf.patch
1 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
2 +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
3 @@ -760,23 +760,12 @@ void ath9k_ani_work(struct work_struct *
4 ath9k_hw_ani_monitor(ah, ah->curchan);
5
6 /* Perform calibration if necessary */
7 - if (longcal || shortcal) {
8 + if (longcal || shortcal)
9 common->ani.caldone =
10 ath9k_hw_calibrate(ah, ah->curchan,
11 common->rx_chainmask,
12 longcal);
13
14 - if (longcal)
15 - common->ani.noise_floor =
16 - ath9k_hw_getchan_noise(ah, ah->curchan);
17 -
18 - ath_print(common, ATH_DBG_ANI,
19 - " calibrate chan %u/%x nf: %d\n",
20 - ah->curchan->channel,
21 - ah->curchan->channelFlags,
22 - common->ani.noise_floor);
23 - }
24 -
25 ath9k_htc_ps_restore(priv);
26 }
27
This page took 0.055232 seconds and 5 git commands to generate.