From: Heinrich Schuchardt Date: Fri, 11 May 2018 10:09:20 +0000 (+0200) Subject: efi_selftest: correct efi_selftest_manageprotocols X-Git-Tag: v2018.07-rc1~10^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d6ea050cce5c7da6a876e197a75fceff2b9c12d;p=u-boot efi_selftest: correct efi_selftest_manageprotocols Pass the correct interface when uninstalling a protocol. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_selftest/efi_selftest_manageprotocols.c b/lib/efi_selftest/efi_selftest_manageprotocols.c index 3e4755c25e..44b8da3ba5 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;