summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-11-04 03:12:46 +0000
committerMike Smith <msmith@FreeBSD.org>2000-11-04 03:12:46 +0000
commit32aa00d05a86019a01939ea7b4d3b2b090fd66d6 (patch)
treece0ca012e15ed67a2853b9845ac86f7146a9b53f /sys/dev
parentc8f860d19cb7e4980c3fb1f1d55d7af5eb05535c (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 c9205dd00099..53075abe50aa 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;