diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:48:47 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-25 12:48:47 +0000 |
commit | 8923d5ed93752d0f6ec3ca6a68991e424b3b0275 (patch) | |
tree | cbdfad843b46567e72d660a055b75e71ec05c710 /sys/dev/ic/rt2661.c | |
parent | b976dfe799ad6a51ea0610e588a6eddb4d1c6123 (diff) |
arp_ifinit() is no longer needed.
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index e682a5a6bf4..6c121104cf0 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.82 2015/09/09 19:26:05 deraadt Exp $ */ +/* $OpenBSD: rt2661.c,v 1.83 2015/10/25 12:48:46 mpi Exp $ */ /*- * Copyright (c) 2006 @@ -2011,7 +2011,6 @@ rt2661_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { struct rt2661_softc *sc = ifp->if_softc; struct ieee80211com *ic = &sc->sc_ic; - struct ifaddr *ifa; struct ifreq *ifr; int s, error = 0; @@ -2019,10 +2018,7 @@ rt2661_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) switch (cmd) { case SIOCSIFADDR: - ifa = (struct ifaddr *)data; ifp->if_flags |= IFF_UP; - if (ifa->ifa_addr->sa_family == AF_INET) - arp_ifinit(&ic->ic_ac, ifa); /* FALLTHROUGH */ case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { |