mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
efi_loader: RegisterProtocolNotify event signaling
In a following patch efi_signal_event() will only queue an event if it is not signaled. Set the is_signaled status to false before signaling the event. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
6d277fb0ed
commit
daa3f8472a
1 changed files with 1 additions and 0 deletions
|
@ -1068,6 +1068,7 @@ efi_status_t efi_add_protocol(const efi_handle_t handle,
|
|||
}
|
||||
notif->handle = handle;
|
||||
list_add_tail(¬if->link, &event->handles);
|
||||
event->event->is_signaled = false;
|
||||
efi_signal_event(event->event, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue