net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 15 Mar 2017 19:57:21 +0000 (12:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 22:35:30 +0000 (15:35 -0700)
commit5371bbf4b295eea334ed453efa286afa2c3ccff3
tree0f2189e0832d6db9d4b89096c0655f1ff6196edd
parent88d339e2d3be955848a034970970931a7ed33956
net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled

Suspending the PHY would be putting it in a low power state where it
may no longer allow us to do Wake-on-LAN.

Fixes: cc013fb48898 ("net: bcmgenet: correctly suspend and resume PHY device")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c