summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-06-03 22:29:06 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-04 15:51:54 -0700
commit120068481405f9e3d60a95bd464496dff6b54669 (patch)
tree78a9183f488fce084f47298a1d5fc88cdb31e284 /drivers/net/ethernet/freescale
parentf6c1fb0a76d97447ea7f928ee6a113ee15318df1 (diff)
downloadlinux-120068481405f9e3d60a95bd464496dff6b54669.tar.bz2
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 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions