net: fix ping in netconsole
PATCH 1/1 net: fix ping in netconsole
Should not init eth device when doing ping in netconsole.
Signed-off-by Yang Liu <[email protected]>
Cc Joe Hershberger <[email protected]>
--- net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/net.c +1 -1
@@ -412,7 +412,7 @@ int net_loop(enum proto_t protocol)bootstage_mark_name (BOOTSTAGE_ID_ETH_START ,"eth_start" );net_init (); -if (eth_is_on_demand_init () || protocol !=NETCONS ) { +if (eth_is_on_demand_init ()) {eth_halt ();eth_set_current (); ret =eth_init ();
Signature · 1 line
2.25.4
PATCH 1/1 net: fix ping in netconsole
Quoted 4 lines · Yang Liu
Should not init eth device when doing ping in netconsole.
Signed-off-by Yang Liu <[email protected]>Cc Joe Hershberger <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210127/2fefba65/attachment.sig>