summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-06-07 07:43:24 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-06-10 23:06:19 +0200
commitdaa3f8472acd44ad90d217f6c25f986bb0f3249c (patch)
tree1309d98d8a0dc78fa2a6a4ea66322978a1e3ceb8 /lib
parent6d277fb0ed145f82dd50cc6e99d2fa553a588c3b (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c1
1 files changed, 1 insertions, 0 deletions
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(&notif->link, &event->handles);
+ event->event->is_signaled = false;
efi_signal_event(event->event, true);
}
}