diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-09-19 09:54:43 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-09-19 09:54:43 +0000 |
commit | 6f3beff0ed61c4dd99f705958a5ae95ea659e832 (patch) | |
tree | 523eea33c0e737d4d8ad0709662d8d748c819599 /usr.bin/bc/scan.l | |
parent | 1f9888769a65bff07cc6ce401b02ec20ecfdce7c (diff) |
Do no try to clear the endpoint, as it if has stalled, if the
USB transfer reported an I/O error.
This is more likely to have no effect apart generating more
errors because when this happens, the device is generally
already physically detached but the *detach() task has not
run yet. So simply return and wait for the device to be
removed like ucom(4) does.
Partially fix an issue reported by RD Thrush rt at thrush.com.
ok miod@
Diffstat (limited to 'usr.bin/bc/scan.l')
0 files changed, 0 insertions, 0 deletions