diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index 135513c1405b..e87ebff482e4 100644 --- a/sys/net80211/ieee80211_ioctl.c +++ b/sys/net80211/ieee80211_ioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: ieee80211_ioctl.c,v 1.10 2004/04/30 23:58:11 dyoung Exp $ */ +/* $NetBSD: ieee80211_ioctl.c,v 1.11 2004/05/05 16:10:29 cube Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting @@ -35,7 +35,7 @@ #ifdef __FreeBSD__ __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_ioctl.c,v 1.13 2004/03/30 22:57:57 sam Exp $"); #else -__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.10 2004/04/30 23:58:11 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.11 2004/05/05 16:10:29 cube Exp $"); #endif /* @@ -1375,7 +1375,7 @@ ieee80211_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) case AF_INET: if ((ifp->if_flags & IFF_UP) == 0) { ifp->if_flags |= IFF_UP; - ifp->if_init(ifp->if_softc); + ifp->if_init(ifp); } arp_ifinit(ifp, ifa); break; @@ -1401,7 +1401,7 @@ ieee80211_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) default: if ((ifp->if_flags & IFF_UP) == 0) { ifp->if_flags |= IFF_UP; - ifp->if_init(ifp->if_softc); + ifp->if_init(ifp); } break; }