mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 09:42:06 +00:00
dfu: Unbind the kernel module when claiming the device DFU interface
This commit is contained in:
parent
5bb91535ce
commit
9fac3a2895
@ -939,7 +939,8 @@ dfu_device_ensure_interface (DfuDevice *device,
|
||||
/* claim, without detaching kernel driver */
|
||||
if (!g_usb_device_claim_interface (priv->dev,
|
||||
(gint) priv->iface_number,
|
||||
0, &error_local)) {
|
||||
G_USB_DEVICE_CLAIM_INTERFACE_BIND_KERNEL_DRIVER,
|
||||
&error_local)) {
|
||||
g_set_error (error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED,
|
||||
|
Loading…
Reference in New Issue
Block a user