summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-10-03 20:25:30 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-10-03 20:25:30 +0000
commitaff24f90414fd25a51d776d03fbd689999311d25 (patch)
treef2634d9150f5f12a8766f5ff501bb2cc86b3e4fb /sys/dev/usb
parent9cc9fb410777526def4f80ff1537f29048389ae1 (diff)
Use ether_ioctl().
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_url.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index 2d9b1e87e39..5f7497b72c7 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.51 2008/09/10 14:01:23 blambert Exp $ */
+/* $OpenBSD: if_url.c,v 1.52 2008/10/03 20:25:29 brad Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -1157,12 +1157,10 @@ url_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, cmd);
break;
default:
- error = EINVAL;
- break;
+ error = ether_ioctl(ifp, &sc->sc_ac, cmd, data);
}
splx(s);
-
return (error);
}