net: lwip: remove eth_init from net_init as it is called later

The call to eth_init within net_init causes the network interface to
start, stop, start again which can cause issues with certain network
device drivers. Remove it to make it behave like the legacy network
path.

Fixes: 5666865dec ("net: lwip: fix initialization sequence before a command")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
This commit is contained in:
Tim Harvey 2025-07-10 08:09:34 -07:00 committed by Jerome Forissier
parent bd4de55951
commit 51eb2bff87

View File

@ -281,7 +281,6 @@ int net_init(void)
if (!init_done) {
eth_init_rings();
eth_init();
lwip_init();
init_done = true;
}