[PATCH 0/2] fix mac not working after system resumed with WoL enabled

From: Clark Wang
Date: Wed Nov 30 2022 - 06:12:45 EST


Hi,
The issue description is in the commit message.
This patchset currently looks more like a workaround.
I haven't found a better way to fix it yet. Any suggestions/solutions would
be appreciated.

Thanks.

Clark Wang (2):
net: phylink: add sync flag mac_ready to fix resume issue with WoL
enabled
net: stmmac: synchronize status with phylink via flag during
suspend/resume

.../net/ethernet/stmicro/stmmac/stmmac_main.c | 2 ++
drivers/net/phy/phylink.c | 36 +++++++++++++++++++
include/linux/phylink.h | 2 ++
3 files changed, 40 insertions(+)

--
2.34.1