Date: Tue, 3 Feb 2009 19:00:57 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188084 - in head/sys/dev/ath/ath_hal: . ar5416 Message-ID: <200902031900.n13J0vl1038649@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902031900.n13J0vl1038649>