summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-08-11 17:25:10 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-08-11 17:25:10 +0000
commitfe4c5a355b88a9683ec24905029849bbb7b5ee01 (patch)
tree51ce06bd7ce1b6609cab2653ab68969ff719120b /sys/dev
parentec1fc76a97a9ff587603002ad0354ec37418e495 (diff)
Fix previous by calling wdc_atapi_intr_complete() before rerturning.
Suggested by and ok millert@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index bf3cd1161b4..7cf585741d1 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.104 2017/08/11 14:59:43 mestre Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.105 2017/08/11 17:25:09 mpi Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -1237,6 +1237,7 @@ wdc_atapi_pio_intr(struct channel_softc *chp, struct wdc_xfer *xfer,
return;
}
+ wdc_atapi_intr_complete(chp, xfer, timeout, ret);
return;
case as_completed: