diff options
author | jmallett <jmallett@FreeBSD.org> | 2009-03-27 05:44:53 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2009-03-27 05:44:53 +0000 |
commit | 0d55e76419374bc2ac6b65a38edac1cf25ff8c76 (patch) | |
tree | 3d1b8ad47d7e7bc02fab2aab5e22cb08d47b2f57 /sys/dev/wpi | |
parent | a0c7aba2c2ed6aaf1f549951d1757ad25db75182 (diff) | |
download | FreeBSD-src-0d55e76419374bc2ac6b65a38edac1cf25ff8c76.zip FreeBSD-src-0d55e76419374bc2ac6b65a38edac1cf25ff8c76.tar.gz |
Put the "%d retries" debug message in the transmit path behind WPI_DEBUG_TX
rather than behind a seemingly accidental constant likely left over from one of
the related drivers which uses log levels rather than per-facility debugging
flags. This should get rid of contextless messages on the console for people
who have not set (or cleared the default) debugging flags.
Diffstat (limited to 'sys/dev/wpi')
-rw-r--r-- | sys/dev/wpi/if_wpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index 9f186f8..70069bf 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -1587,7 +1587,7 @@ wpi_tx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc) */ wn->amn.amn_txcnt++; if (stat->ntries > 0) { - DPRINTFN(3, ("%d retries\n", stat->ntries)); + DPRINTFN(WPI_DEBUG_TX, ("%d retries\n", stat->ntries)); wn->amn.amn_retrycnt++; } |