diff options
author | sam <sam@FreeBSD.org> | 2009-02-03 19:00:56 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-02-03 19:00:56 +0000 |
commit | 39a31634003535afcd7433738b517b4e8d86b801 (patch) | |
tree | 5b8be4dcfafd8ca6d4804e75978f51a8e156d3d7 /sys/dev/ath | |
parent | ff17de3853153fe69601eac8e59ac2cddc50408a (diff) | |
download | FreeBSD-src-39a31634003535afcd7433738b517b4e8d86b801.zip FreeBSD-src-39a31634003535afcd7433738b517b4e8d86b801.tar.gz |
fix compilation w/ AH_DEBUG
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/ath_hal/ah_regdomain.c | 2 | ||||
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_cal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ah_regdomain.c b/sys/dev/ath/ath_hal/ah_regdomain.c index d01227f..a90baba 100644 --- a/sys/dev/ath/ath_hal/ah_regdomain.c +++ b/sys/dev/ath/ath_hal/ah_regdomain.c @@ -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; } diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c index cced27e..712f7e0 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c @@ -392,7 +392,7 @@ ar5416PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan, 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; |