summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-12-03 21:11:49 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-12-03 21:11:49 +0000
commit4357893b389feb17a041c43a9923e26084a45797 (patch)
tree43a39a25f0d3810c4f3c61ce0ffa0518e5a22dcc /sys/dev/ic/if_wi.c
parent234ab16126aa0dcb16975af7512aefb3c99dbd6b (diff)
splimp -> splnet
ok marco@
Diffstat (limited to 'sys/dev/ic/if_wi.c')
-rw-r--r--sys/dev/ic/if_wi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index 3a367f66706..9ca7996aab3 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.125 2005/11/28 00:17:14 jsg Exp $ */
+/* $OpenBSD: if_wi.c,v 1.126 2005/12/03 21:11:47 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -128,7 +128,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.125 2005/11/28 00:17:14 jsg Exp $";
+ "$OpenBSD: if_wi.c,v 1.126 2005/12/03 21:11:47 brad Exp $";
#endif /* lint */
#ifdef foo
@@ -875,7 +875,7 @@ wi_inquire(void *xsc)
if (ifp->if_flags & IFF_OACTIVE)
return;
- s = splimp();
+ s = splnet();
rv = wi_cmd(sc, WI_CMD_INQUIRE, WI_INFO_COUNTERS, 0, 0);
splx(s);
if (rv)
@@ -1550,7 +1550,7 @@ wi_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
struct ifaddr *ifa = (struct ifaddr *)data;
struct ieee80211_nwid nwid;
- s = splimp();
+ s = splnet();
sc = ifp->if_softc;
ifr = (struct ifreq *)data;
@@ -1893,7 +1893,7 @@ wi_init_io(struct wi_softc *sc)
DPRINTF(WID_INIT, ("wi_init: sc %p\n", sc));
- s = splimp();
+ s = splnet();
if (ifp->if_flags & IFF_RUNNING)
wi_stop(sc);