commit | 28fc87ee3ae8730fc556757cff05480b5cf94381 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | Thu Sep 16 17:53:44 2021 +0900 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Oct 21 03:46:03 2021 +0200 |
tree | 02423ad10c282f8d3293c99cfbfe441b245f8f81 | |
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>