summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/isa/aha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c
index a8a8aae7ffb..bfa9e3c377c 100644
--- a/sys/dev/isa/aha.c
+++ b/sys/dev/isa/aha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha.c,v 1.23 1996/06/01 12:18:30 deraadt Exp $ */
+/* $OpenBSD: aha.c,v 1.24 1996/06/01 12:20:40 deraadt Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#define AHADIAG
@@ -1291,7 +1291,6 @@ aha_scsi_cmd(xs)
while ((ccb->xs->flags & ITSDONE) == 0) {
tsleep(ccb, PRIBIO, "ahawait", 0);
}
- splx(s);
if (ccb->data_nseg) {
if (flags & SCSI_DATA_IN)
isadma_copyfrombuf(xs->data, xs->datalen,
@@ -1301,6 +1300,7 @@ aha_scsi_cmd(xs)
}
aha_free_ccb(sc, ccb);
scsi_done(xs);
+ splx(s);
return COMPLETE;
}
splx(s);