aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-05-11 12:09:20 +0200
committerAlexander Graf <agraf@suse.de>2018-06-03 15:27:20 +0200
commit0d6ea050cce5c7da6a876e197a75fceff2b9c12d (patch)
treedc0e6a4545fbb94c32ae65f0f8e0ec963b254c6b
parentd9b63ea9876d9bac4e1c137a0b66a111fb2b03c7 (diff)
downloadu-boot-0d6ea050cce5c7da6a876e197a75fceff2b9c12d.zip
u-boot-0d6ea050cce5c7da6a876e197a75fceff2b9c12d.tar.gz
u-boot-0d6ea050cce5c7da6a876e197a75fceff2b9c12d.tar.bz2
efi_selftest: correct efi_selftest_manageprotocols
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>
-rw-r--r--lib/efi_selftest/efi_selftest_manageprotocols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_manageprotocols.c b/lib/efi_selftest/efi_selftest_manageprotocols.c
index 3e4755c..44b8da3 100644
--- a/lib/efi_selftest/efi_selftest_manageprotocols.c
+++ b/lib/efi_selftest/efi_selftest_manageprotocols.c
@@ -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;