Don't announce MAC addresses twice.

(ieee80211_ifattach() calls ether_ifattach().)
This commit is contained in:
Matthew N. Dodd 2004-03-20 19:57:47 +00:00
parent 33d1379641
commit f7f2bd753e
4 changed files with 0 additions and 11 deletions

View File

@ -349,8 +349,6 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
sc->sc_rx_th.wr_ihdr.it_len = sizeof(sc->sc_rx_th);
sc->sc_rx_th.wr_ihdr.it_present = ATH_RX_RADIOTAP_PRESENT;
if_printf(ifp, "802.11 address: %s\n", ether_sprintf(ic->ic_myaddr));
return 0;
bad:
if (ah)

View File

@ -316,8 +316,6 @@ awi_attach(struct awi_softc *sc)
printf("%s: IEEE802.11 %s (firmware %s)\n", ifp->if_xname,
(ic->ic_phytype == IEEE80211_T_FH) ? "FH" : "DS", sc->sc_banner);
printf("%s: 802.11 address: %s\n", ifp->if_xname,
ether_sprintf(ic->ic_myaddr));
#ifdef __NetBSD__
if_attach(ifp);

View File

@ -476,12 +476,6 @@ ndis_attach(dev)
/* Check for task offload support. */
ndis_probe_offload(sc);
/*
* An NDIS device was detected. Inform the world.
*/
device_printf(dev, "%s address: %6D\n",
sc->ndis_80211 ? "802.11" : "Ethernet", eaddr, ":");
ifp = &sc->arpcom.ac_if;
ifp->if_softc = sc;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));

View File

@ -295,7 +295,6 @@ wi_attach(device_t dev)
wi_free(dev);
return (error);
}
device_printf(dev, "802.11 address: %6D\n", ic->ic_myaddr, ":");
/* Read NIC identification */
wi_read_nicid(sc);