efi_loader: EVT_NOTIFY_SIGNAL events
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 May 2019 22:07:34 +0000 (00:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 May 2019 19:10:04 +0000 (21:10 +0200)
The notification function of events of type EVT_NOTIFY_SIGNAL should always
be queued when SignalEvent() is called.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c

index 1ea96da..b6dfb39 100644 (file)
@@ -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);