mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
colorhug: Remove the bootloader flag when re-booting in runtime mode
This needs to be fixed properly, and will be addressed in a future PR.
This commit is contained in:
parent
bb1cb5af35
commit
da08b5a048
@ -267,6 +267,7 @@ fu_colorhug_device_probe (FuUsbDevice *device, GError **error)
|
|||||||
"not supported with this device");
|
"not supported with this device");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
fu_device_remove_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_IS_BOOTLOADER);
|
||||||
quirks = g_strsplit (quirk_str, ",", -1);
|
quirks = g_strsplit (quirk_str, ",", -1);
|
||||||
for (guint i = 0; quirks[i] != NULL; i++) {
|
for (guint i = 0; quirks[i] != NULL; i++) {
|
||||||
if (g_strcmp0 (quirks[i], "bootloader") == 0) {
|
if (g_strcmp0 (quirks[i], "bootloader") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user