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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Jul 2021 19:11:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256296

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=e50fd67784355030aedca8704223456c056fdeb4

commit e50fd67784355030aedca8704223456c056fdeb4
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-06-11 15:06:10 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-07-10 19:10:10 +0000

    Improve handling of USB device re-open in the LibUSB v1.x API.

    Make sure the "device_is_gone" flag is cleared after every successful open,
    so that the "device_is_gone" flag doesn't persist forever.

    Found by:       sergii.dmytruk@3mdeb.com
    PR:             256296
    Sponsored by:   Mellanox Technologies // NVIDIA Networking

    (cherry picked from commit 6847ea50196f1a685be408a24f01cb8d407da19c)

 lib/libusb/libusb10.c    |  9 +++++++++
 lib/libusb/libusb10_io.c | 12 ++++++++++--
 lib/libusb/libusb20.c    |  5 +++++
 3 files changed, 24 insertions(+), 2 deletions(-)

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