mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 18:21:43 +00:00
trivial: Invalidate the probe if the FuDevice is closed
For DFU it is important to re-get the interfaces and list of quirks when switching from runtime -> bootloader -> runtime.
This commit is contained in:
parent
838d91e4ed
commit
0f72ef2f88
@ -1643,6 +1643,9 @@ fu_device_close (FuDevice *device, GError **error)
|
|||||||
if (!klass->close (device, error))
|
if (!klass->close (device, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* probe if we re-open */
|
||||||
|
priv->done_probe = FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user