Commit 24753d2
committed
drivers/efi/efivars.c: Fix variable state management
Fix changing the variables state when efi_fv_set_option API is used.
When variables are being deleted, the VAR_DELETED or
VAR_IN_DELETED_TRANSITION are masks, not values to assign to the
variable header state. This caused the EDK2 variable driver to ignore
entries added or changed by efi_fv_set_option API in coreboot.
Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>1 parent fd7c535 commit 24753d2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
0 commit comments