mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 21:35:58 +00:00
Re-read flags for a device after a provider's unlock routine is done
It's possible that the flags may have been altered in the provider unlock routine. These changes get discarded if not re-read.
This commit is contained in:
parent
043bc15f6d
commit
f93c00dcf4
@ -217,6 +217,7 @@ fu_provider_unlock (FuProvider *provider,
|
||||
}
|
||||
|
||||
/* update with correct flags */
|
||||
flags = fu_device_get_flags (device);
|
||||
fu_device_set_flags (device, flags &= ~FU_DEVICE_FLAG_LOCKED);
|
||||
fu_device_set_modified (device, g_get_real_time () / G_USEC_PER_SEC);
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user