svn commit: r188011 - head/sys/dev/ath/ath_hal/ar5212

Sam Leffler sam at FreeBSD.org
Mon Feb 2 08:55:57 PST 2009


Author: sam
Date: Mon Feb  2 16:55:57 2009
New Revision: 188011
URL: http://svn.freebsd.org/changeset/base/188011

Log:
  restore variable initialization removed in r187831; this broke
  the horrible SAVE/RESTORE_CCK macros used by swan/nala cards to
  implement 11b using 11g

Modified:
  head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c

Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c	Mon Feb  2 15:38:24 2009	(r188010)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c	Mon Feb  2 16:55:57 2009	(r188011)
@@ -954,7 +954,7 @@ ar5212PerCalibrationN(struct ath_hal *ah
 	int32_t qCoff, qCoffDenom;
 	int32_t iqCorrMeas, iCoff, iCoffDenom;
 	uint32_t powerMeasQ, powerMeasI;
-	HAL_BOOL isBmode;
+	HAL_BOOL isBmode = AH_FALSE;
 
 	OS_MARK(ah, AH_MARK_PERCAL, chan->ic_freq);
 	*isCalDone = AH_FALSE;


More information about the svn-src-all mailing list