diff options
Diffstat (limited to 'sys/dev/ic/an.c')
-rw-r--r-- | sys/dev/ic/an.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c index fa3c5355d04..84993437ffe 100644 --- a/sys/dev/ic/an.c +++ b/sys/dev/ic/an.c @@ -1,4 +1,4 @@ -/* $OpenBSD: an.c,v 1.43 2005/10/25 15:49:37 jmc Exp $ */ +/* $OpenBSD: an.c,v 1.44 2005/11/09 05:50:25 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -429,7 +429,7 @@ an_stats_update(xsc) struct ifnet *ifp = &ic->ic_if; int s; - s = splimp(); + s = splnet(); sc->an_status.an_type = AN_RID_STATUS; sc->an_status.an_len = sizeof(struct an_ltv_status); @@ -987,7 +987,7 @@ an_ioctl(ifp, command, data) struct proc *p = curproc; struct ifaddr *ifa = (struct ifaddr *)data; - s = splimp(); + s = splnet(); sc = ifp->if_softc; ifr = (struct ifreq *)data; @@ -1131,7 +1131,7 @@ an_init(sc) if (sc->an_gone) return; - s = splimp(); + s = splnet(); if (ifp->if_flags & IFF_RUNNING) an_stop(sc); |