From: Tim Harvey Date: Thu, 10 Jul 2025 15:09:34 +0000 (-0700) Subject: net: lwip: remove eth_init from net_init as it is called later X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51eb2bff870bee3fe34c7088331248e745d42b3c;p=thirdparty%2Fu-boot.git 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: 5666865decb8 ("net: lwip: fix initialization sequence before a command") Signed-off-by: Tim Harvey Reviewed-by: Jerome Forissier --- diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c index 8c6f057aab5..660ceb10cbe 100644 --- a/net/lwip/net-lwip.c +++ b/net/lwip/net-lwip.c @@ -281,7 +281,6 @@ int net_init(void) if (!init_done) { eth_init_rings(); - eth_init(); lwip_init(); init_done = true; }