[][kernel][common][eth][Add phy state sanity check to heartbeat thread for Aquantia firwmare download]

[Description]
Add phy state sanity check to heartbeat thread for Aquantia firwmare download.

If without this patch, kernel might not be able to reboot system
when connected with WiFi.

[Release-log]
N/A


Change-Id: Ib8eea0e8b1fbe42a88d6b09a73a72519c0e56257
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7075872
1 file changed