svn commit: r188084 - in head/sys/dev/ath/ath_hal: . ar5416

Sam Leffler sam at FreeBSD.org
Tue Feb 3 11:00:58 PST 2009


Author: sam
Date: Tue Feb  3 19:00:56 2009
New Revision: 188084
URL: http://svn.freebsd.org/changeset/base/188084

Log:
  fix compilation w/ AH_DEBUG

Modified:
  head/sys/dev/ath/ath_hal/ah_regdomain.c
  head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c

Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_regdomain.c	Tue Feb  3 18:52:53 2009	(r188083)
+++ head/sys/dev/ath/ath_hal/ah_regdomain.c	Tue Feb  3 19:00:56 2009	(r188084)
@@ -2219,7 +2219,7 @@ assignPrivateChannels(struct ath_hal *ah
 			/* new entry, assign a private channel entry */
 			if (next >= N(AH_PRIVATE(ah)->ah_channels)) {
 				HALDEBUG(ah, HAL_DEBUG_ANY,
-				    "%s: too many channels, max %u\n",
+				    "%s: too many channels, max %zu\n",
 				    __func__, N(AH_PRIVATE(ah)->ah_channels));
 				return AH_FALSE;
 			}

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c	Tue Feb  3 18:52:53 2009	(r188083)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c	Tue Feb  3 19:00:56 2009	(r188084)
@@ -392,7 +392,7 @@ ar5416PerCalibrationN(struct ath_hal *ah
 	HAL_CAL_LIST *currCal = cal->cal_curr;
 	HAL_CHANNEL_INTERNAL *ichan;
 
-	OS_MARK(ah, AH_MARK_PERCAL, chan->channel);
+	OS_MARK(ah, AH_MARK_PERCAL, chan->ic_freq);
 
 	*isCalDone = AH_TRUE;
 


More information about the svn-src-all mailing list