diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-07-04 22:11:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 07:24:32 +0300 |
commit | 6fcf9b1d4d6cd38202247de5c0ac7d85c4483abb (patch) | |
tree | c3072c4473ff3448497d308ce7a0c475b137f70a /include | |
parent | a4ca8b7df73c6d78b8b5aa8246a7d794b25c25ce (diff) | |
download | linux-6fcf9b1d4d6cd38202247de5c0ac7d85c4483abb.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions