mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-04 01:53:27 +08:00
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>
This commit is contained in:
parent
d9b63ea987
commit
0d6ea050cc
@ -335,7 +335,7 @@ static int execute(void)
|
|||||||
return EFI_ST_FAILURE;
|
return EFI_ST_FAILURE;
|
||||||
}
|
}
|
||||||
ret = boottime->uninstall_protocol_interface(handle1, &guid3,
|
ret = boottime->uninstall_protocol_interface(handle1, &guid3,
|
||||||
&interface1);
|
&interface3);
|
||||||
if (ret != EFI_SUCCESS) {
|
if (ret != EFI_SUCCESS) {
|
||||||
efi_st_error("UninstallProtocolInterface failed\n");
|
efi_st_error("UninstallProtocolInterface failed\n");
|
||||||
return EFI_ST_FAILURE;
|
return EFI_ST_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user