Re: [PATCH net] net: stmmac: Fix WoL for PCI-based setups
From: David Miller <davem@davemloft.net>
Date: 2018-08-01 18:23:15
From: David Miller <davem@davemloft.net>
Date: 2018-08-01 18:23:15
From: Jose Abreu <Jose.Abreu@synopsys.com> Date: Tue, 31 Jul 2018 15:08:20 +0100
WoL won't work in PCI-based setups because we are not saving the PCI EP
state before entering suspend state and not allowing D3 wake.
Fix this by using a wrapper around stmmac_{suspend/resume} which
correctly sets the PCI EP state.
Signed-off-by: Jose Abreu <redacted>Applied and queued up for -stable, thanks.