mirror of
https://git.proxmox.com/git/fwupd
synced 2025-10-18 19:54:17 +00:00
trivial: Fix setting internal flags from quirk files
This is a typo, non-negated flags shouldn't be removed.
This commit is contained in:
parent
81482c3ba7
commit
2db68bf835
@ -2491,7 +2491,7 @@ fu_device_set_custom_flag (FuDevice *self, const gchar *hint)
|
||||
fu_device_add_flag (self, flag);
|
||||
internal_flag = fu_device_internal_flag_from_string (hint);
|
||||
if (internal_flag != FU_DEVICE_INTERNAL_FLAG_UNKNOWN)
|
||||
fu_device_remove_internal_flag (self, internal_flag);
|
||||
fu_device_add_internal_flag (self, internal_flag);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user