Date: Thu, 12 Aug 2010 06:14:26 +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: r211210 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201008120614.o7C6EQ6g093899@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Aug 12 06:14:26 2010 New Revision: 211210 URL: http://svn.freebsd.org/changeset/base/211210 Log: Use ar5212IsNFCalInProgress() to check for NF calibration progress. 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 Thu Aug 12 06:12:39 2010 (r211209) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Thu Aug 12 06:14:26 2010 (r211210) @@ -632,7 +632,7 @@ ar5416GetNf(struct ath_hal *ah, struct i { int16_t nf, nfThresh; - if (OS_REG_READ(ah, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) { + if (ar5212IsNFCalInProgress(ah)) { HALDEBUG(ah, HAL_DEBUG_ANY, "%s: NF didn't complete in calibration window\n", __func__); nf = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008120614.o7C6EQ6g093899>