Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2010 08:39:54 +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: r211214 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201008120839.o7C8dsVH026109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Thu Aug 12 08:39:54 2010
New Revision: 211214
URL: http://svn.freebsd.org/changeset/base/211214

Log:
  * Fix indentation
  * Restore comment erroneously deleted from the previous commit

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 08:36:23 2010	(r211213)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c	Thu Aug 12 08:39:54 2010	(r211214)
@@ -562,6 +562,7 @@ ar5416LoadNF(struct ath_hal *ah, const s
 	OS_REG_CLR_BIT(ah, AR_PHY_AGC_CONTROL, AR_PHY_AGC_CONTROL_NO_UPDATE_NF);
 	OS_REG_SET_BIT(ah, AR_PHY_AGC_CONTROL, AR_PHY_AGC_CONTROL_NF);
 
+	/* Wait for load to complete, should be fast, a few 10s of us. */
 	if (! ar5212WaitNFCalComplete(ah, 1000)) {
 		/*
 		 * We timed out waiting for the noisefloor to load, probably due to an
@@ -575,7 +576,7 @@ ar5416LoadNF(struct ath_hal *ah, const s
 		HALDEBUG(ah, HAL_DEBUG_ANY, "Timeout while waiting for nf "
 		    "to load: AR_PHY_AGC_CONTROL=0x%x\n",
 		    OS_REG_READ(ah, AR_PHY_AGC_CONTROL));
-		    return;
+		return;
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008120839.o7C8dsVH026109>