diff options
author | 2003-01-23 19:27:19 +0000 | |
---|---|---|
committer | 2003-01-23 19:27:19 +0000 | |
commit | 9f0bc7bbd50fb0da7f78ae66c70ee02a2b37c19c (patch) | |
tree | a5c36a99754f33c0b3151f4895dd9275f1626e0d | |
parent | Little cleanup thanks to Andrey Matveev (diff) | |
download | wireguard-openbsd-9f0bc7bbd50fb0da7f78ae66c70ee02a2b37c19c.tar.xz wireguard-openbsd-9f0bc7bbd50fb0da7f78ae66c70ee02a2b37c19c.zip |
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.c | 6 |
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) |