commit | 3e2bf04fb0447aa4b967b8000125178f55ae7800 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Mon Sep 30 10:19:10 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 01 10:12:37 2019 -0700 |
tree | bb31f72e7d3a07b7cfcba112693e84bd64d84718 | |
parent | 14f347334bf232074616e29e29103dd0c7c54dec [diff] |
net: stmmac: Do not stop PHY if WoL is enabled If WoL is enabled we can't really stop the PHY, otherwise we will not receive the WoL packet. Fix this by telling phylink that only the MAC is down and only stop the PHY if WoL is not enabled. Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>