Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2017 14:21:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 215765] libusb_handle_events_completed() hangs after device removal
Message-ID:  <bug-215765-17-XJZjxCWTdH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215765-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215765-17@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=3D215765

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Q: How to cancel a transfer after device removal if libusb_cancel_transfer()
fails with LIBUSB_ERROR_NOT_FOUND since the device is removed?

A: The FreeBSD USB stack will automatically cancel all pending transfers
belonging to a USB device when it is detached and upon receiving a transfer
status of LIBUSB_TRANSFER_CANCELLED, pcscd should not try re-submit the USB
transfer and set its termination flag.

--HPS

--=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-215765-17-XJZjxCWTdH>