Re: [net-next,v4] net: phy: phy_device: fix PHY WOL enabled, PM failed to suspend
From: Jakub Kicinski
Date: Thu Aug 01 2024 - 11:51:33 EST
On Wed, 31 Jul 2024 17:15:37 +0800 Youwan Wang wrote:
> + /* If the PHY on the mido bus is not attached but has WOL enabled
> + * we cannot suspend the PHY.
> + */
> + if (!netdev && phy_drv_wol_enabled(phydev))
> + return false;
Not sure why you stopped setting phydev->wol_enabled between v2 and v3
but let's hear from phy maintainers..