]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit022345aebc43b0bd956c4774ba86af9b83f11423
treee510555a072728279a2fdc8684970c4fe163d71b
parent1d3affd30f7a97d6e0868256c7472962a78c3d11
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