Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 08:47:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()
Message-ID:  <bug-231264-19105-p0dRb9jTVF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231264-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231264-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231264

--- Comment #2 from Ludovic Rousseau <ludovic.rousseau+freebsd@gmail.com> -=
--
The code ctx =3D 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231264-19105-p0dRb9jTVF>