[Bug 256296] "No Device" error after using asynchronous API of libusb once

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Jun 2021 15:23:31 UTC

--- Comment #7 from Sergii <sergii.dmytruk@3mdeb.com> ---
Created attachment 225640
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225640&action=edit
libusb patch that fixes the race

Adding a simple condition that the device must be opened to be considered gone
fixes the issue. I might be missing something about detecting unexpectedly
detached devices, but this way firmware update succeeds instead of failing
right at the start.

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