Re: [PATCH net] r8169: fix WoL device wakeup enable

2018-12-30 Thread David Miller
From: Heiner Kallweit Date: Sun, 30 Dec 2018 13:16:12 +0100 > 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().

[PATCH net] r8169: fix WoL device wakeup enable

2018-12-30 Thread Heiner Kallweit
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