From c85c11ccc52e27a885e9b777486b3f6b19b6bd49 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Aug 2011 08:00:08 +0000 Subject: ath9k: fix calibration on 5 ghz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28110 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch (limited to 'package') 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; + } -- cgit v1.2.3