Cut&paste bug: Set USBD_SHORT_XFER_OK unconditionally

This commit is contained in:
n_hibma 2000-11-01 00:28:40 +00:00
parent ee4d4d54d2
commit 58d67247ed

View File

@ -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) {