summaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-29 08:00:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-29 08:00:08 +0000
commit01baf9084f197ec31a17e57977fb93ad499bed1a (patch)
tree4543044071d2d57d45c2eb70d8bdb44bf22058ae /package/mac80211
parent8643ea587a96f4db9aa43babf0bd678018fa4b38 (diff)
downloadmaster-31e0f0ae-01baf9084f197ec31a17e57977fb93ad499bed1a.tar.gz
master-31e0f0ae-01baf9084f197ec31a17e57977fb93ad499bed1a.tar.bz2
master-31e0f0ae-01baf9084f197ec31a17e57977fb93ad499bed1a.zip
ath9k: fix calibration on 5 ghz
SVN-Revision: 28110
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch b/package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch
new file mode 100644
index 0000000000..79a2d352b4
--- /dev/null
+++ b/package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9002_calib.c
++++ b/drivers/net/wireless/ath/ath9k/ar9002_calib.c
+@@ -41,7 +41,8 @@ static bool ar9002_hw_is_cal_supported(s
+ case ADC_DC_CAL:
+ /* Run ADC Gain Cal for non-CCK & non 2GHz-HT20 only */
+ if (!IS_CHAN_B(chan) &&
+- !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan)))
++ !((IS_CHAN_2GHZ(chan) || IS_CHAN_A_FAST_CLOCK(ah, chan)) &&
++ IS_CHAN_HT20(chan)))
+ supported = true;
+ break;
+ }