commit | 39a37adf51f88aca245c40ce8652be5c9c5277b9 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | Thu Sep 16 17:53:27 2021 +0900 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Oct 21 03:46:03 2021 +0200 |
tree | 4d14ae4280744f18d5682b4324e21068115d2ab4 | |
parent | 6b7b9ff14daa130f220310810963acb9e0c36c6d [diff] |
efi_selftest: Use EFI_SIMPLE_NETWORK_PROTOCOL::GetStatus() for media check According to the UEF specification v2.9, the main purpose of the EFI_SIMPLE_NETWORK_PROTOCOL::GetStatus() is for checking the link status via EFI_SIMPLE_NETWORK_MODE::MediaPresent. So this uses net->get_status() for checking the link status before running network test. Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>