summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-23 19:27:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-23 19:27:20 +0000
commit59ef22ef0358b3d4aefca5a7d386511ccd104a0b (patch)
tree3590b3cc07016b6508b6da88385937318749a749
parent801bfd9040965bc0a64170de4d7d32433015aa50 (diff)
be consistant on the spl everywhere and use splimp(), this seems to prevent wi_mgmt_xmit: xmit failed messages; millert@ testing and ok
-rw-r--r--sys/dev/ic/if_wi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index 9ceceafd417..03062ed7b7c 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.90 2003/01/21 16:26:40 millert Exp $ */
+/* $OpenBSD: if_wi.c,v 1.91 2003/01/23 19:27:19 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -124,7 +124,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.90 2003/01/21 16:26:40 millert Exp $";
+ "$OpenBSD: if_wi.c,v 1.91 2003/01/23 19:27:19 mickey Exp $";
#endif /* lint */
#ifdef foo
@@ -807,7 +807,7 @@ wi_inquire(xsc)
if (ifp->if_flags & IFF_OACTIVE)
return;
- s = splnet();
+ s = splimp();
rv = wi_cmd(sc, WI_CMD_INQUIRE, WI_INFO_COUNTERS, 0, 0);
splx(s);
if (rv)