summaryrefslogtreecommitdiffstats
path: root/sys/dev/wl
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
committermdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
commit5c1fa8d5da08bb35240d982290838244419adf18 (patch)
tree87e6b83d0a7a379f76cda0a3a657d20a73d4511f /sys/dev/wl
parent116ff68711c74f9d723d845312cba4d261c081df (diff)
downloadFreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.zip
FreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.tar.gz
Announce ethernet MAC addresss in ether_ifattach().
Diffstat (limited to 'sys/dev/wl')
-rw-r--r--sys/dev/wl/if_wl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 465a490..c9ec34a 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -569,8 +569,7 @@ wlattach(device_t device)
ether_ifattach(ifp, &sc->wl_addr[0]);
bcopy(&sc->wl_addr[0], sc->wl_ac.ac_enaddr, WAVELAN_ADDR_SIZE);
- printf("%s: address %6D, NWID 0x%02x%02x", ifp->if_xname,
- sc->wl_ac.ac_enaddr, ":", sc->nwid[0], sc->nwid[1]);
+ if_printf(ifp, "NWID 0x%02x%02x", sc->nwid[0], sc->nwid[1]);
if (sc->freq24)
printf(", Freq %d MHz",sc->freq24); /* 2.4 Gz */
printf("\n"); /* 2.4 Gz */
OpenPOWER on IntegriCloud