Commit 849914e6 authored by Richard Hughes's avatar Richard Hughes
Browse files

trivial: Don't keep asking the user if they want to report firmware

Don't optimize the device flag away. We need to be able to set the flag on all
devices that match the device ID, not just the one that happens to match now.
parent ef5305dd
......@@ -630,8 +630,6 @@ fu_engine_modify_device (FuEngine *self,
"key %s not a valid flag", key);
return FALSE;
}
if (fu_device_has_flag (device, flag))
return TRUE;
if (flag != FWUPD_DEVICE_FLAG_REPORTED &&
flag != FWUPD_DEVICE_FLAG_NOTIFIED) {
g_set_error (error,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment