[Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 12 08:47:37 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264
--- Comment #2 from Ludovic Rousseau <ludovic.rousseau+freebsd at gmail.com> ---
The code ctx = GET_CONTEXT(NULL); is also used in
libusb_bulk_transfer() at
https://github.com/freebsd/freebsd/blob/master/lib/libusb/libusb10_io.c#L588
and
libusb_interrupt_transfer() at
https://github.com/freebsd/freebsd/blob/master/lib/libusb/libusb10_io.c#L606
Patch attached. It works for me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list