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

Message ID 20221130111148.1064475-1-xiaoning.wang@nxp.com
Headers
Series fix mac not working after system resumed with WoL enabled |

Message

Clark Wang Nov. 30, 2022, 11:11 a.m. UTC
  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(+)