mac80211, ath9k: update to latest trunk as of r27572
[openwrt-10.03/.git] / package / mac80211 / patches / 542-ath9k_always_enable_fastclock.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -2089,10 +2089,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
4                         pCap->hw_caps |= ATH9K_HW_CAP_PAPRD;
5         } else {
6                 pCap->tx_desc_len = sizeof(struct ath_desc);
7 -               if (AR_SREV_9280_20(ah) &&
8 -                   ((ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) <=
9 -                     AR5416_EEP_MINOR_VER_16) ||
10 -                    ah->eep_ops->get_eeprom(ah, EEP_FSTCLK_5G)))
11 +               if (AR_SREV_9280_20(ah))
12                         pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK;
13         }
14