mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 16:52:32 +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))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* probe if we re-open */
|
||||
priv->done_probe = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user