diff options
Diffstat (limited to 'sys/dev/usb/udl.c')
-rw-r--r-- | sys/dev/usb/udl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index d0142c18b03..750da7d1706 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.12 2009/05/31 18:26:44 mglocker Exp $ */ +/* $OpenBSD: udl.c,v 1.13 2009/06/01 11:26:18 mglocker Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -1027,6 +1027,10 @@ udl_cmd_send_async(struct udl_softc *sc) } cx = &sc->sc_cmd_xfer[i]; + /* mark end of command stack */ + udl_cmd_insert_int_1(sc, UDL_BULK_SOC); + udl_cmd_insert_int_1(sc, UDL_BULK_CMD_EOC); + /* copy command buffer to xfer buffer */ bcopy(cb->buf, cx->buf, cb->off); |