commit | 6fcf9b1d4d6cd38202247de5c0ac7d85c4483abb | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Jul 04 21:11:29 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 05 13:24:32 2018 +0900 |
tree | c3072c4473ff3448497d308ce7a0c475b137f70a | |
parent | a4ca8b7df73c6d78b8b5aa8246a7d794b25c25ce [diff] |
r8169: fix runtime suspend When runtime-suspending we configure WoL w/o touching saved_wolopts. If saved_wolopts == 0 we would power down the PHY in this case what's wrong. Therefore we have to check the actual chip WoL settings here. Fixes: 433f9d0ddcc6 ("r8169: improve saved_wolopts handling") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>