]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: CloseProtocol() fix open protocol information
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Jun 2019 18:54:32 +0000 (20:54 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Jun 2019 20:40:24 +0000 (22:40 +0200)
CloseProtocol() must delete all open protocol information records relating
to import parameters not only one.

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

index 1a0e09807ac4cb4d5ef27f1c50c0e04d08f39dd4..5c6bc691a5c4154214b05a5245444bf0164d1d62 100644 (file)
@@ -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: