summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-06 09:06:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-06 09:06:21 +0000
commite68ea8543be52197c93926d552560e4e92c60a05 (patch)
treea64ef297d89d361b45b88046cc85468bf3f5b80f /package
parent1a4e7153b630b59b3bb75174c8aa22b528795854 (diff)
downloadmaster-31e0f0ae-e68ea8543be52197c93926d552560e4e92c60a05.tar.gz
master-31e0f0ae-e68ea8543be52197c93926d552560e4e92c60a05.tar.bz2
master-31e0f0ae-e68ea8543be52197c93926d552560e4e92c60a05.zip
ath9k: always enable fast clock for 5 ghz regardless of the eeprom setting
SVN-Revision: 27480
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/542-ath9k_always_enable_fastclock.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/542-ath9k_always_enable_fastclock.patch b/package/mac80211/patches/542-ath9k_always_enable_fastclock.patch
new file mode 100644
index 0000000000..c3e4a98e9b
--- /dev/null
+++ b/package/mac80211/patches/542-ath9k_always_enable_fastclock.patch
@@ -0,0 +1,14 @@
+--- 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;
+ }
+