mac80211: update to latest version, fix tx gain patch
[openwrt.git] / package / mac80211 / patches / 563-ath9k_enable_ar9340_ani.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -680,10 +680,6 @@ static int __ath9k_hw_init(struct ath_hw
4         if (!AR_SREV_9300_20_OR_LATER(ah))
5                 ah->ani_function &= ~ATH9K_ANI_MRC_CCK;
6  
7 -       /* disable ANI for 9340 */
8 -       if (AR_SREV_9340(ah))
9 -               ah->config.enable_ani = false;
10 -
11         ath9k_hw_init_mode_regs(ah);
12  
13         if (!ah->is_pciexpress)