From 7e572cf69d3e1756ee79ca29cee5bbb317f35f6b Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 1 Jun 2019 20:54:32 +0200 Subject: [PATCH] efi_loader: CloseProtocol() fix open protocol information CloseProtocol() must delete all open protocol information records relating to import parameters not only one. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 1a0e09807a..5c6bc691a5 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -2056,7 +2056,6 @@ static efi_status_t EFIAPI efi_close_protocol(efi_handle_t handle, item->info.controller_handle == controller_handle) { efi_delete_open_info(item); r = EFI_SUCCESS; - break; } } out: -- 2.25.1