[Bug 256296] "No Device" error after using asynchronous API of libusb once
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Jul 2021 19:15:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256296 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1e68639f62f9d965cd46e6f5ca9c3dde0941d704 commit 1e68639f62f9d965cd46e6f5ca9c3dde0941d704 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:13:51 +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.