r8169: don't check WoL when powering down PHY and interface is down
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 24 Jun 2018 16:40:23 +0000 (18:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2018 07:21:51 +0000 (16:21 +0900)
commitfe87bef01f9be5d968badb35648a527fa37888c1
treee510555a072728279a2fdc8684970c4fe163d71b
parent433f9d0ddcc6020ac5ecc91626f12e3e23b52be0
r8169: don't check WoL when powering down PHY and interface is down

We can power down the PHY irregardless of WOL settings if interface
is down. So far we would have left the PHY enabled if WOL options
are set and the interface is brought down.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c