Re: [PATCH net] net: stmmac: Fix WoL for PCI-based setups

2018-08-01 Thread David Miller
From: Jose Abreu 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.

[PATCH net] net: stmmac: Fix WoL for PCI-based setups

2018-07-31 Thread Jose Abreu
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 Cc: David S. Miller Cc: Joao Pinto C