mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 01:41:56 +00:00
Fix flashing the 8bitdo SF30
We have to check for the SUPPORTED flag _after_ the FuDeviceList has added the missing GUIDs from the device when it was in runtime mode.
This commit is contained in:
parent
ab1bc89ea8
commit
d76ed3de28
@ -3080,13 +3080,13 @@ fu_engine_add_device (FuEngine *self, FuDevice *device)
|
||||
if (!fu_device_has_flag (device, FWUPD_DEVICE_FLAG_REGISTERED))
|
||||
fu_engine_plugin_device_register (self, device);
|
||||
|
||||
/* create new device */
|
||||
fu_device_list_add (self->device_list, device);
|
||||
|
||||
/* match the metadata at this point so clients can tell if the
|
||||
* device is worthy */
|
||||
if (fu_engine_is_device_supported (self, device))
|
||||
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_SUPPORTED);
|
||||
|
||||
/* create new device */
|
||||
fu_device_list_add (self->device_list, device);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user