diff options
author | mdodd <mdodd@FreeBSD.org> | 2004-03-14 07:12:25 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2004-03-14 07:12:25 +0000 |
commit | 5c1fa8d5da08bb35240d982290838244419adf18 (patch) | |
tree | 87e6b83d0a7a379f76cda0a3a657d20a73d4511f /sys/dev/wl | |
parent | 116ff68711c74f9d723d845312cba4d261c081df (diff) | |
download | FreeBSD-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.c | 3 |
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 */ |