efi_loader: efi_set_timer: reset signaled state
We should be able to call efi_set_timer repeatedly. So let us reset the signaled state here. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
ca62a4f53e
commit
2eca84523f
@ -363,6 +363,7 @@ efi_status_t efi_set_timer(struct efi_event *event, enum efi_timer_delay type,
|
||||
}
|
||||
event->trigger_type = type;
|
||||
event->trigger_time = trigger_time;
|
||||
event->signaled = 0;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
return EFI_INVALID_PARAMETER;
|
||||
|
Loading…
Reference in New Issue
Block a user