[][kernel][common][eth][Refactor polling idle condition of the GDM/MAC FSM]

[Description]
Refactor polling idle condition of the GDM/MAC FSM.

Without this patch, the polling idle function is unable to accurately
detect errors in the FSM.

[Release-log]
N/A


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