summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/twe')
-rw-r--r--sys/dev/twe/twe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c
index c9205dd..53075ab 100644
--- a/sys/dev/twe/twe.c
+++ b/sys/dev/twe/twe.c
@@ -831,8 +831,10 @@ twe_startio(struct twe_softc *sc)
if ((bp = twe_dequeue_bio(sc)) == NULL)
break;
/* get a command */
- if (twe_get_request(sc, &tr))
+ if (twe_get_request(sc, &tr)) {
+ twe_enqueue_bio(sc, bp);
break;
+ }
/* connect the bio to the command */
tr->tr_complete = twe_completeio;
OpenPOWER on IntegriCloud