summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2003-10-15 22:19:31 +0000
committeritojun <itojun@NetBSD.org>2003-10-15 22:19:31 +0000
commitd587f445deb5fea9aa4736f4d4c5c8787ec7192a (patch)
tree3d03625347414aa7edab69771e321a657a4ae478 /sys/dev
parent90d92fe2d99a40219938f6fcc6bf694d8209aac8 (diff)
s/printf/DPRINTF/ for ath_rate_ctl()
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index 7b533f32157..a789b99768d 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -39,7 +39,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.14 2003/09/05 22:22:49 sam Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.6 2003/10/15 11:40:07 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.7 2003/10/15 22:19:31 itojun Exp $");
#endif
/*
@@ -3104,11 +3104,11 @@ ath_rate_ctl(void *arg, struct ieee80211_node *ni)
}
if (ni->ni_txrate != orate) {
- printf("%s: %dM -> %dM (%d ok, %d err, %d retr)\n",
+ DPRINTF(("%s: %dM -> %dM (%d ok, %d err, %d retr)\n",
__func__,
(rs->rs_rates[orate] & IEEE80211_RATE_VAL) / 2,
(rs->rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL) / 2,
- an->an_tx_ok, an->an_tx_err, an->an_tx_retr);
+ an->an_tx_ok, an->an_tx_err, an->an_tx_retr));
}
if (ni->ni_txrate != orate || enough)
an->an_tx_ok = an->an_tx_err = an->an_tx_retr = 0;