commit | 3bd8264511035dc97c902f03fa9f1d07f95f8f62 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Dec 30 13:16:12 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 30 20:25:46 2018 -0800 |
tree | 379c9f5e347e753e6cbe9214c9d7ba50f48aabf9 | |
parent | 7314f5480f3e37e570104dc5e0f28823ef849e72 [diff] |
r8169: fix WoL device wakeup enable In rtl8169_runtime_resume() we configure WoL but don't set the device to wakeup-enabled. This prevents PME generation once the cable is re-plugged. Fix this by moving the call to device_set_wakeup_enable() to __rtl8169_set_wol(). Fixes: 433f9d0ddcc6 ("r8169: improve saved_wolopts handling") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>