diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-10-01 12:44:34 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-10-01 12:44:34 +0000 |
commit | 7245631a9f7dfd3980371dac88c6e405f7b99d5a (patch) | |
tree | b063bf53466e5bf60464343ebebdb2dcfff69789 /sys/dev/ic | |
parent | f0e70b997e319dbd4d533a48934674c2a02fa300 (diff) |
Disable default debug setting, make tx power map printing debug only.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/bwi.c | 10 |
1 files changed, 4 insertions, 6 deletions
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 <dev/ic/bwireg.h> #include <dev/ic/bwivar.h> -#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); |