https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231264

--- Comment #2 from Ludovic Rousseau <ludovic.rousseau+free...@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.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to