mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-30 19:11:37 +00:00
efi_loader: CloseProtocol() fix open protocol information
CloseProtocol() must delete all open protocol information records relating to import parameters not only one. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
b4863baa68
commit
7e572cf69d
1 changed files with 0 additions and 1 deletions
|
@ -2056,7 +2056,6 @@ static efi_status_t EFIAPI efi_close_protocol(efi_handle_t handle,
|
||||||
item->info.controller_handle == controller_handle) {
|
item->info.controller_handle == controller_handle) {
|
||||||
efi_delete_open_info(item);
|
efi_delete_open_info(item);
|
||||||
r = EFI_SUCCESS;
|
r = EFI_SUCCESS;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Add table
Reference in a new issue