]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_selftest: correct efi_selftest_manageprotocols
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 11 May 2018 10:09:20 +0000 (12:09 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:20 +0000 (15:27 +0200)
Pass the correct interface when uninstalling a protocol.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_manageprotocols.c

index 3e4755c25e9133a2c1c2bb8500731834b6530057..44b8da3ba5d628337b32b56e9808fd3b303a1e6f 100644 (file)
@@ -335,7 +335,7 @@ static int execute(void)
                return EFI_ST_FAILURE;
        }
        ret = boottime->uninstall_protocol_interface(handle1, &guid3,
-                                                    &interface1);
+                                                    &interface3);
        if (ret != EFI_SUCCESS) {
                efi_st_error("UninstallProtocolInterface failed\n");
                return EFI_ST_FAILURE;