From: Heiner Kallweit <hkallwe...@gmail.com> Date: Thu, 25 Oct 2018 18:40:19 +0200
> It was reported that WoL from S5 is broken (WoL from S3 works) and the > analysis showed that during system shutdown the network interface was > brought down already when the actual kernel shutdown started. > Therefore netif_running() returned false and as a consequence the PHY > was suspended. Obviously WoL wasn't working then. > To fix this the original patch needs to be effectively reverted. > A side effect is that when normally bringing down the interface and > WoL is enabled the PHY will remain powered on (like it was before the > original patch). > > Fixes: fe87bef01f9b ("r8169: don't check WoL when powering down PHY and > interface is down") > Reported-by: Neil MacLeod <n...@nmacleod.com> > Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com> Applied and queued up for -stable, thanks.