From 7245631a9f7dfd3980371dac88c6e405f7b99d5a Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 1 Oct 2007 12:44:34 +0000 Subject: Disable default debug setting, make tx power map printing debug only. --- sys/dev/ic/bwi.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c index 688046430c9..b28db1ccde1 100644 --- a/sys/dev/ic/bwi.c +++ b/sys/dev/ic/bwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwi.c,v 1.55 2007/10/01 11:27:11 mglocker Exp $ */ +/* $OpenBSD: bwi.c,v 1.56 2007/10/01 12:44:33 jsg Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. @@ -74,8 +74,6 @@ #include #include -#define BWI_DEBUG - #ifdef BWI_DEBUG int bwi_debug = 1; #define DPRINTF(l, x...) do { if ((l) <= bwi_debug) printf(x); } while (0) @@ -4561,10 +4559,10 @@ bwi_rf_map_txpower(struct bwi_mac *mac) break; } if (i != 0 && i % 8 == 0) - printf("\n"); - printf("%d ", rf->rf_txpower_map0[i]); + DPRINTF(1, "\n"); + DPRINTF(1, "%d ", rf->rf_txpower_map0[i]); } - printf("\n"); + DPRINTF(1, "\n"); back: DPRINTF(1, "%s: idle tssi0: %d\n", sc->sc_dev.dv_xname, rf->rf_idle_tssi0); -- cgit v1.2.3