svn commit: r221868 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Sat May 14 01:41:36 UTC 2011


Author: adrian
Date: Sat May 14 01:41:36 2011
New Revision: 221868
URL: http://svn.freebsd.org/changeset/base/221868

Log:
  Even though initial calibrations aren't done (yet), add this so we're
  consistent with the Atheros HAL.

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	Sat May 14 01:10:57 2011	(r221867)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c	Sat May 14 01:41:36 2011	(r221868)
@@ -277,7 +277,7 @@ ar5416InitCal(struct ath_hal *ah, const 
 	/*
 	 * Enable IQ, ADC Gain, ADC DC Offset Cals
 	 */
-	if (AR_SREV_SOWL_10_OR_LATER(ah)) {
+	if (AR_SREV_HOWL(ah) || AR_SREV_SOWL_10_OR_LATER(ah)) {
 		/* Setup all non-periodic, init time only calibrations */
 		/* XXX: Init DC Offset not working yet */
 #if 0


More information about the svn-src-all mailing list