From 58d67247eddbbc591ada72141a8295dec0c03ab5 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Wed, 1 Nov 2000 00:28:40 +0000 Subject: Cut&paste bug: Set USBD_SHORT_XFER_OK unconditionally --- sys/dev/usb/uscanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index 4a87c47..4a8ca32 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -459,7 +459,7 @@ uscanner_do_read(sc, uio, flag) err = usbd_bulk_transfer( sc->sc_bulkin_xfer, sc->sc_bulkin_pipe, - sc->sc_state & USBD_SHORT_XFER_OK, USBD_NO_TIMEOUT, + USBD_SHORT_XFER_OK, USBD_NO_TIMEOUT, sc->sc_bulkin_buffer, &tn, "uscannerrb"); if (err) { -- cgit v1.1