OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:35:13 +0000 (09:35 +0200)
commit12f0bffc489dff7088c73f600b6be5769bc73cbd
tree05e31b15d5502198561cead36496721857bedb60
parentb362d6735156add0e43b1221b17277d5fb45622d
net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled

[ Upstream commit 5371bbf4b295eea334ed453efa286afa2c3ccff3 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/genet/bcmgenet.c