Skip to content
Snippets Groups Projects
Commit 28fc87ee authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Heinrich Schuchardt
Browse files

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: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 9845b924
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment