diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-08 18:44:43 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-08 18:44:43 +0000 |
commit | e8bbe2a074a275c68c004cd5cc44d5d45eadbd2d (patch) | |
tree | 15c47a83cb6cbd3e368c345da1a0de75eb459911 /sys/dev/ic | |
parent | 92776e6b9ac0f6b7b66b4568b42369e77ec98e70 (diff) |
two missing splx()s
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/if_wi_hostap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wi_hostap.c b/sys/dev/ic/if_wi_hostap.c index 1a568513920..4de5826acdd 100644 --- a/sys/dev/ic/if_wi_hostap.c +++ b/sys/dev/ic/if_wi_hostap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_hostap.c,v 1.10 2002/04/08 18:31:27 mickey Exp $ */ +/* $OpenBSD: if_wi_hostap.c,v 1.11 2002/04/08 18:44:42 mickey Exp $ */ /* * Copyright (c) 2002 @@ -1116,10 +1116,12 @@ wihap_ioctl(struct wi_softc *sc, u_long command, caddr_t data) sta = wihap_sta_find(whi, reqsta.addr); if (sta != NULL) { error = EEXIST; + splx(s); break; } if (whi->n_stations >= WIHAP_MAX_STATIONS) { error = ENOSPC; + splx(s); break; } sta = wihap_sta_alloc(sc, reqsta.addr); |