mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 17:22:24 +02:00
b2a31b39ba
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27480 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
502 B
Diff
15 lines
502 B
Diff
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -2089,10 +2089,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
|
|
pCap->hw_caps |= ATH9K_HW_CAP_PAPRD;
|
|
} else {
|
|
pCap->tx_desc_len = sizeof(struct ath_desc);
|
|
- if (AR_SREV_9280_20(ah) &&
|
|
- ((ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) <=
|
|
- AR5416_EEP_MINOR_VER_16) ||
|
|
- ah->eep_ops->get_eeprom(ah, EEP_FSTCLK_5G)))
|
|
+ if (AR_SREV_9280_20(ah))
|
|
pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK;
|
|
}
|
|
|