diff options
author | 2017-08-11 17:25:09 +0000 | |
---|---|---|
committer | 2017-08-11 17:25:09 +0000 | |
commit | e7ff6ceeacb5e01ac05250669223d2b239e0a27b (patch) | |
tree | 7308c698998be7599f218d254e45a3087f19b589 | |
parent | Fix typo in SEE ALSO section. (diff) | |
download | wireguard-openbsd-e7ff6ceeacb5e01ac05250669223d2b239e0a27b.tar.xz wireguard-openbsd-e7ff6ceeacb5e01ac05250669223d2b239e0a27b.zip |
Fix previous by calling wdc_atapi_intr_complete() before rerturning.
Suggested by and ok millert@
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 3 |
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: |