net: lwip: use timer_early_get_count() when CONFIG_SANDBOX_TIMER=y
authorJerome Forissier <jerome.forissier@linaro.org>
Tue, 15 Apr 2025 21:17:39 +0000 (23:17 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 23 Apr 2025 08:02:49 +0000 (10:02 +0200)
commitbebe7fe3eebe328ca0bbf46c5dedf6791d5b2769
tree705f70847ed38e7e231de33117c0019a2e45a7b3
parent7156533162afccf5f6315e021fb57c28c1d4c3d6
net: lwip: use timer_early_get_count() when CONFIG_SANDBOX_TIMER=y

When the sandbox timer is available, use it. This allows skipping
time in the tests (sandbox_eth_skip_timeout()).

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/lwip/net-lwip.c