diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-11 07:36:14 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-11 07:36:14 +0000 |
| commit | d09ed26fd80ce9c7bfbce9a4b89f352e610d8abc (patch) | |
| tree | 4d7e562715c0e571dbcf93217dd79abe8f2fb3dd /sys/dev/owi | |
| parent | a0e82eba5d6abf7cff5971e4d6d72034020df8de (diff) | |
Notes
Diffstat (limited to 'sys/dev/owi')
| -rw-r--r-- | sys/dev/owi/if_owi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/owi/if_owi.c b/sys/dev/owi/if_owi.c index b0f546968348..349d85e08a4f 100644 --- a/sys/dev/owi/if_owi.c +++ b/sys/dev/owi/if_owi.c @@ -1239,19 +1239,14 @@ wi_setdef(sc, wreq) struct wi_softc *sc; struct wi_req *wreq; { - struct sockaddr_dl *sdl; - struct ifaddr *ifa; struct ifnet *ifp; ifp = sc->ifp; switch(wreq->wi_type) { case WI_RID_MAC_NODE: - ifa = ifaddr_byindex(ifp->if_index); - sdl = (struct sockaddr_dl *)ifa->ifa_addr; bcopy((char *)&wreq->wi_val, (char *)&IFP2ENADDR(sc->ifp), ETHER_ADDR_LEN); - bcopy((char *)&wreq->wi_val, LLADDR(sdl), ETHER_ADDR_LEN); break; case WI_RID_PORTTYPE: sc->wi_ptype = le16toh(wreq->wi_val[0]); |
