From: Heinrich Schuchardt Date: Sat, 4 May 2019 22:07:34 +0000 (+0200) Subject: efi_loader: EVT_NOTIFY_SIGNAL events X-Git-Tag: v2019.07-rc2~15^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3626e539903f05565e0f6b54fae7f19da7a0bf34;p=oweals%2Fu-boot.git efi_loader: EVT_NOTIFY_SIGNAL events The notification function of events of type EVT_NOTIFY_SIGNAL should always be queued when SignalEvent() is called. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 1ea96dab6c..b6dfb3916f 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -239,7 +239,7 @@ void efi_signal_event(struct efi_event *event, bool check_tpl) if (evt->is_queued) efi_queue_event(evt, check_tpl); } - } else if (!event->is_signaled) { + } else { event->is_signaled = true; if (event->type & EVT_NOTIFY_SIGNAL) efi_queue_event(event, check_tpl);