mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 17:12:25 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28110 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
453 B
Diff
13 lines
453 B
Diff
--- 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;
|
|
}
|