mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
efi_loader: open protocol information
When a protocol is opened the open protocol information must be updated. The key fields of the open protocol information records are ImageHandle, ControllerHandle, and Attributes. Consider the Attributes field when determining if an open protocol information record has to be updated or a new one has to be created. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
755d42d420
commit
b4863baa68
1 changed files with 2 additions and 1 deletions
|
@ -2684,7 +2684,8 @@ disconnect_next:
|
|||
/* Find existing entry */
|
||||
list_for_each_entry(item, &handler->open_infos, link) {
|
||||
if (item->info.agent_handle == agent_handle &&
|
||||
item->info.controller_handle == controller_handle)
|
||||
item->info.controller_handle == controller_handle &&
|
||||
item->info.attributes == attributes)
|
||||
match = &item->info;
|
||||
}
|
||||
/* None found, create one */
|
||||
|
|
Loading…
Add table
Reference in a new issue