From daa3f8472acd44ad90d217f6c25f986bb0f3249c Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 7 Jun 2019 07:43:24 +0200 Subject: 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 --- lib/efi_loader/efi_boottime.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 7d1d6e92138..c7e2ecbf00f 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); } } -- cgit v1.2.3