commit | b508927457c235a80f4a5a5048d6272eb8fc9cf5 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Fri Mar 14 09:44:10 2025 +0100 |
committer | Jerome Forissier <jerome.forissier@linaro.org> | Mon Mar 31 09:46:25 2025 +0200 |
tree | 1a3ddbc841cda855822e46f0cb2b2d21ab02b997 | |
parent | 91e73a40505db8ac3c4e9d4a68052a39f8d55f12 [diff] |
net: lwip: do_ping() should return CMD_RET_FAILURE when no device do_ping() expects ping_loop() to return a negative value on error, so that it can propagate it to the caller as CMD_RET_FAILURE. This is not the case when no ethernet device is found, so fix that. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>