Skip to content

Reattach kernel driver when failed to claim interface - #441

Merged
Youw merged 1 commit into
masterfrom
libusb_reattach_fix
Aug 14, 2022
Merged

Youw merged 1 commit into
masterfrom
libusb_reattach_fix

Conversation

@Youw

@Youw Youw commented Aug 13, 2022

Copy link
Copy Markdown
Member

Potential execution path may happen if kernel driver successfully detached,
but libusb failed to claim the requested interface.

Otherwise the device remains with detached kernel driver.

Potential execution path may happen if kernel driver successfully detached,
but libusb failed to claim the requested interface.

Otherwise the device remains with detached kernel driver.
@mcuee mcuee added the libusb Related to libusb backend label Aug 14, 2022

@mcuee mcuee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Youw
Youw merged commit 597160d into master Aug 14, 2022
@Youw
Youw deleted the libusb_reattach_fix branch August 14, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libusb Related to libusb backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants