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:
Richard Hughes 2018-06-07 12:09:34 +01:00
parent bb1cb5af35
commit da08b5a048

View File

@ -267,6 +267,7 @@ fu_colorhug_device_probe (FuUsbDevice *device, GError **error)
"not supported with this device");
return FALSE;
}
fu_device_remove_flag (FU_DEVICE (self), FWUPD_DEVICE_FLAG_IS_BOOTLOADER);
quirks = g_strsplit (quirk_str, ",", -1);
for (guint i = 0; quirks[i] != NULL; i++) {
if (g_strcmp0 (quirks[i], "bootloader") == 0) {