common: Don't re-attach after scanning device IDs.
This commit is contained in:
parent
be94ac3fff
commit
fc66186e4c
|
@ -219,9 +219,10 @@ static char *get_device_id(struct libusb_device_handle *dev)
|
|||
|
||||
done:
|
||||
libusb_release_interface(dev, iface);
|
||||
#if 0
|
||||
if (claimed)
|
||||
libusb_attach_kernel_driver(dev, iface);
|
||||
|
||||
#endif
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue