Skip to content
  • Jose Abreu's avatar
    net: stmmac: Fix WoL for PCI-based setups · b7d0f08e
    Jose Abreu authored
    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: default avatarJose Abreu <>
    Cc: David S. Miller <>
    Cc: Joao Pinto <>
    Cc: Giuseppe Cavallaro <>
    Cc: Alexandre Torgue <>
    Signed-off-by: default avatarDavid S. Miller <>