exit from sync_transfer_wait_for_completion when libusb_handle_events_completed
failed
and libusb_cancel_transfer returns LIBUSB_ERROR_NOT_FOUND. this error is
returned when
urbs is not found in kernel (it was already dequeued from async_completed list),
therefore there is nothing to cancel. if we don't break here libusbx will
get stuck in
this loop forever. fix #76.
You can merge this Pull Request by running:
git pull https://github.com/miguelfreitas/libusbx issue_76
Or you can view, comment on it, or merge it online at:
https://github.com/libusbx/libusbx/pull/167
-- Commit Summary --
* exit from sync_transfer_wait_for_completion when
libusb_handle_events_completed failed
-- File Changes --
M libusb/sync.c (8)
-- Patch Links --
https://github.com/libusbx/libusbx/pull/167.patch
https://github.com/libusbx/libusbx/pull/167.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/pull/167
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel