diff options
author | 2020-06-03 22:29:06 +0200 | |
---|---|---|
committer | 2020-06-04 15:51:54 -0700 | |
commit | 120068481405f9e3d60a95bd464496dff6b54669 (patch) | |
tree | 78a9183f488fce084f47298a1d5fc88cdb31e284 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: dwmac: Fix an error code in imx_dwmac_probe() (diff) | |
download | wireguard-linux-120068481405f9e3d60a95bd464496dff6b54669.tar.xz wireguard-linux-120068481405f9e3d60a95bd464496dff6b54669.zip |
r8169: fix failing WoL
Th referenced change added an extra hw reset to rtl8169_net_suspend()
what makes WoL fail on few chip versions. Therefore skip the extra
reset if we're going down and WoL is enabled.
In rtl_shutdown() rtl8169_hw_reset() is called by rtl8169_net_suspend()
already if needed, therefore avoid issues issue by removing the extra
call. The fix was tested on a system with RTL8168g.
Meanwhile rtl8169_hw_reset() does more than a hw reset and should be
renamed. But that's net-next material.
Fixes: 8ac8e8c64b53 ("r8169: make rtl8169_down central chip quiesce function")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions