From c7f0ac42e7709a966a41de19cbcae057940c370a Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 9 Oct 2008 00:43:49 +0000 Subject: Use ether_ioctl(). --- sys/arch/vax/if/if_de.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c index df1cbec483c..17915f86d85 100644 --- a/sys/arch/vax/if/if_de.c +++ b/sys/arch/vax/if/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.21 2008/10/09 00:17:54 brad Exp $ */ +/* $OpenBSD: if_de.c,v 1.22 2008/10/09 00:43:48 brad Exp $ */ /* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */ /* @@ -607,8 +607,9 @@ deioctl(ifp, cmd, data) break; default: - error = EINVAL; + error = ether_ioctl(ifp, &ds->ds_ac, cmd, data); } + splx(s); return (error); } -- cgit v1.2.3