diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-11-01 00:28:40 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-11-01 00:28:40 +0000 |
commit | 58d67247eddbbc591ada72141a8295dec0c03ab5 (patch) | |
tree | de7ffb9f9d6c7b2b21fb2b3cdaa229031544241a /sys/dev | |
parent | ee4d4d54d2445bc8f34d6c513e2e6c173e56302b (diff) | |
download | FreeBSD-src-58d67247eddbbc591ada72141a8295dec0c03ab5.zip FreeBSD-src-58d67247eddbbc591ada72141a8295dec0c03ab5.tar.gz |
Cut&paste bug: Set USBD_SHORT_XFER_OK unconditionally
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/uscanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |