diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-05 00:22:50 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-05 00:22:50 +0000 |
commit | 719fe20c49224583169d84b0afbdeb702c8161d4 (patch) | |
tree | 8b4e2e9623059977ce53d8ac77804d843e5536b4 /sys | |
parent | 4bcfa3a41527e040b36de5d08357e20e9c24e93a (diff) |
Replace dragonfly quirk by ether_sprintf(). Fixes debug output for
rate up / rate down.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/acx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c index 05dd9cd71fe..a5cf9578580 100644 --- a/sys/dev/ic/acx.c +++ b/sys/dev/ic/acx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx.c,v 1.16 2006/08/05 00:04:37 mglocker Exp $ */ +/* $OpenBSD: acx.c,v 1.17 2006/08/05 00:22:49 mglocker Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -1764,9 +1764,9 @@ acx_node_update(struct acx_softc *sc, struct acx_node *node, uint8_t rate, else break; } - DPRINTF(("%s: rate down %6D %d -> %d\n", + DPRINTF(("%s: rate down %s %d -> %d\n", sc->sc_dev.dv_xname, - node->nd_node.ni_macaddr, ":", + ether_sprintf(node->nd_node.ni_macaddr), cp_rset->rs_rates[node->nd_txrate + 1], cp_rset->rs_rates[node->nd_txrate])); } else if (node->nd_txrate + 1 < node->nd_rates.rs_nrates) { @@ -1804,9 +1804,9 @@ acx_node_update(struct acx_softc *sc, struct acx_node *node, uint8_t rate, else break; } - DPRINTF(("%s: rate up %6D %d -> %d\n", + DPRINTF(("%s: rate up %s %d -> %d\n", sc->sc_dev.dv_xname, - node->nd_node.ni_macaddr, ":", + ether_sprintf(node->nd_node.ni_macaddr), cur_rate, cp_rset->rs_rates[node->nd_txrate])); } else return; |