diff options
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | 2021-09-16 17:53:44 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-10-21 03:46:03 +0200 |
commit | 28fc87ee3ae8730fc556757cff05480b5cf94381 (patch) | |
tree | 02423ad10c282f8d3293c99cfbfe441b245f8f81 /lib/efi_loader/efi_device_path.c | |
parent | 9845b924369cc71457a21e78b5f9e6f7af43532d (diff) |
efi_selftest: Receive the packets until the receive buffer is empty
Repeatedly receive the packets until the receive buffer is empty.
If the buffer is empty, EFI_SIMPLE_NETWORK_PROTOCOL::Receive()
returns EFI_NOT_READY. We don't need to use the wait_for_event()
every time.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions