kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
[15.05/openwrt.git] / package / mac80211 / patches / 560-ath9k-enable-antenna-diversity-for-AR9330.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -2082,7 +2082,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
4         }
5  
6  
7 -       if (AR_SREV_9485(ah)) {
8 +       if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) {
9                 ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1);
10                 /*
11                  * enable the diversity-combining algorithm only when