diff options
Diffstat (limited to 'sys/i386/isa/if_wl.c')
-rw-r--r-- | sys/i386/isa/if_wl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/isa/if_wl.c b/sys/i386/isa/if_wl.c index 97a36d7..fe4558b 100644 --- a/sys/i386/isa/if_wl.c +++ b/sys/i386/isa/if_wl.c @@ -515,10 +515,7 @@ wlattach(struct isa_device *id) ifp->if_done ifp->if_reset */ - if_attach(ifp); - ether_ifattach(ifp); - - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); + ether_ifattach(ifp, ETHER_BPF_SUPPORTED); bcopy(&sc->wl_addr[0], sc->wl_ac.ac_enaddr, WAVELAN_ADDR_SIZE); printf("%s%d: address %6D, NWID 0x%02x%02x", ifp->if_name, ifp->if_unit, |