package/mac80211: Add linux 3.0 compatibility
[openwrt.git] / package / mac80211 / patches / 568-ath9k-configure-diversity-based-on-eeprom-contents-f.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3 @@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(str
4                 }
5         }
6  
7 -       if (AR_SREV_9485(ah)) {
8 +       if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) {
9                 value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1);
10                 /*
11                  * main_lnaconf, alt_lnaconf, main_tb, alt_tb