summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_ef_isapnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/if_ef_isapnp.c')
-rw-r--r--sys/dev/isa/if_ef_isapnp.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/isa/if_ef_isapnp.c b/sys/dev/isa/if_ef_isapnp.c
index 641ad511eeb..c68bac2a81c 100644
--- a/sys/dev/isa/if_ef_isapnp.c
+++ b/sys/dev/isa/if_ef_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ef_isapnp.c,v 1.22 2008/09/10 14:01:22 blambert Exp $ */
+/* $OpenBSD: if_ef_isapnp.c,v 1.23 2008/10/02 20:21:13 brad Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -346,11 +346,6 @@ efioctl(ifp, cmd, data)
s = splnet();
- if ((error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data)) > 0) {
- splx(s);
- return (error);
- }
-
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;
@@ -396,8 +391,7 @@ efioctl(ifp, cmd, data)
efsetmulti(sc);
break;
default:
- error = EINVAL;
- break;
+ error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data);
}
splx(s);