]> Git Repo - linux.git/commit
net: stmmac: Fix WoL for PCI-based setups
authorJose Abreu <[email protected]>
Tue, 31 Jul 2018 14:08:20 +0000 (15:08 +0100)
committerDavid S. Miller <[email protected]>
Wed, 1 Aug 2018 16:35:42 +0000 (09:35 -0700)
commitb7d0f08e9129c45ed41bc0cfa8e77067881e45fd
tree822295d6c606bebb283acba19b823ef670be8d94
parent7e2556e40026a1b0c16f37446ab398d5a5a892e4
net: stmmac: Fix WoL for PCI-based setups

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 <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Joao Pinto <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
This page took 0.0572 seconds and 4 git commands to generate.