From: Heinrich Schuchardt Date: Sat, 1 Jun 2019 18:54:32 +0000 (+0200) Subject: efi_loader: CloseProtocol() fix open protocol information X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=7e572cf69d3e1756ee79ca29cee5bbb317f35f6b;p=u-boot.git 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 --- 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: