net: fix ping in netconsole
authorYang Liu <yliu@cybertec.com.au>
Mon, 21 Dec 2020 03:44:39 +0000 (14:44 +1100)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 13:25:31 +0000 (08:25 -0500)
commitd9506cd41ce98e10a29c25c4766878367103bb2d
treebbfcc588c624e9e7ca2e13b53b083c536c25a31a
parent14807449a4a04fa478c5aba2142b6c157cfcfe4b
net: fix ping in netconsole

Should not init eth device when doing ping in netconsole.

Signed-off-by: Yang Liu <yliu@cybertec.com.au>
Cc: Joe Hershberger <joe.hershberger@ni.com>
net/net.c