From: Heinrich Schuchardt Date: Fri, 7 Jun 2019 05:43:24 +0000 (+0200) Subject: efi_loader: RegisterProtocolNotify event signaling X-Git-Tag: v2025.01-rc5-pxa1908~2932^2~4 X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=daa3f8472acd44ad90d217f6c25f986bb0f3249c;p=u-boot.git 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 --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 7d1d6e9213..c7e2ecbf00 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -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); } }