[][kernel][common][eth][Fix panic issue for the Aquantia heartbeat check thread]
[Description]
Fix panic issue for the Aquantia heartbeat check thread.
The driver may encounter EINTR error when calling 'ktherad_create'
function. Therefore, we have to a check return valuen before wake-up
the thread.
If without this patch, the driver might encounter panic issue for the
heartbeat check thread.
[Release-log]
N/A
Change-Id: Iccfd6f986fc84564cf432aa7bf5debc328fb4cd0
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7572155
1 file changed