Date: Fri, 25 Mar 2011 10:53:13 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219984 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201103251053.p2PArDLv075968@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Mar 25 10:53:13 2011 New Revision: 219984 URL: http://svn.freebsd.org/changeset/base/219984 Log: I broke periodic adc calibrations - so restore them to working order. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Fri Mar 25 10:11:21 2011 (r219983) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Fri Mar 25 10:53:13 2011 (r219984) @@ -73,11 +73,11 @@ ar5416IsCalSupp(struct ath_hal *ah, cons case ADC_GAIN_CAL: case ADC_DC_CAL: /* Run ADC Gain Cal for either 5ghz any or 2ghz HT40 */ - if (IEEE80211_IS_CHAN_2GHZ(chan)) - return AH_FALSE; - if (IEEE80211_IS_CHAN_HT20(chan)) - return AH_FALSE; - return AH_TRUE; + if (IEEE80211_IS_CHAN_5GHZ(chan)) + return AH_TRUE; + if (IEEE80211_IS_CHAN_HT40(chan)) + return AH_TRUE; + return AH_FALSE; } return AH_FALSE; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103251053.p2PArDLv075968>