Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding capsule headers should add flags if it's /not/ a ux cap.
Signed-off-by: Peter Jones <pjones@redhat.com>
  • Loading branch information
vathpela committed Oct 16, 2017
1 parent a97a0c8 commit 75391bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efi/fwupdate.c
Expand Up @@ -1073,7 +1073,7 @@ add_capsule(update_table *update, EFI_CAPSULE_HEADER **capsule_out,
}
capsule->CapsuleGuid = update->info->guid;
capsule->HeaderSize = sizeof (*capsule);
if (is_ux_capsule(&update->info->guid)) {
if (!is_ux_capsule(&update->info->guid)) {
capsule->Flags = update->info->capsule_flags |
CAPSULE_FLAGS_PERSIST_ACROSS_RESET |
CAPSULE_FLAGS_INITIATE_RESET;
Expand Down

0 comments on commit 75391bc

Please sign in to comment.