check_ethernet: do not reboot devices with wifi_cred

check_ethernet.hook reboots lab devices that do not have wired
ethernet connection. This puts devices into reboot loop if they
are only on WiFi.

We want to run power autotests from moblab via WiFi, and for
special devices like this we are adding the WiFi credentials in
wifi_cred. So for devices with wifi_cred, we do not run
check_ethernet.hook.

BUG=b:112780859
TEST=check_ethernet.hook passes and no reboot loop

Change-Id: I7d6623a2c6047a3114b702608b42f39710fc4788
Signed-off-by: Mengqi Guo <mqg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1538790
Reviewed-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
1 file changed