Displaying 1 result from an estimated 1 matches for "closeprotocol".
2015 Aug 13
3
[syslinux:master] efi/pxe: Reuse handle
...bguid, (void **)&sbp,
> - image_handle, handles[i],
> - EFI_OPEN_PROTOCOL_GET_PROTOCOL);
> - if (status == EFI_SUCCESS)
> - break;
> -
> - uefi_call_wrapper(BS->CloseProtocol, 4, handles[i], bguid,
> - image_handle, handles[i]);
> - }
> -
> - if (i == nr_handles)
> - goto free_binding;
> + uefi_call_wrapper(BS->CloseProtocol, 4, pxe_handle, bguid,
> + image_handle, pxe_handle);
>
>...