trivial: Fix an error path when the interface cannot be claimed

This commit is contained in:
Richard Hughes 2016-10-16 08:18:06 +01:00
parent a91214f545
commit 6c17d2ed43

View File

@ -969,7 +969,7 @@ dfu_device_ensure_interface (DfuDevice *device,
error)) {
g_prefix_error (error, "cannot claim interface %i: ",
priv->iface_number);
return TRUE;
return FALSE;
}
/* claim, without detaching kernel driver */