commit | 784a10f87d3c0acf88d1910c0210bd81e01b2093 | [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 | 19db3ced0adb1e7749c9361817b475d5ec91251f [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>