Re: [PATCH] r8169: only enable PCI wakeups when WOL is active

2017-10-11 Thread David Miller
From: Daniel Drake Date: Wed, 11 Oct 2017 12:56:52 +0800 > rtl_init_one() currently enables PCI wakeups if the ethernet device > is found to be WOL-capable. There is no need to do this when > rtl8169_set_wol() will correctly enable or disable the same wakeup flag > when WOL is activated/deactivat

[PATCH] r8169: only enable PCI wakeups when WOL is active

2017-10-10 Thread Daniel Drake
rtl_init_one() currently enables PCI wakeups if the ethernet device is found to be WOL-capable. There is no need to do this when rtl8169_set_wol() will correctly enable or disable the same wakeup flag when WOL is activated/deactivated. This works around an ACPI DSDT bug which prevents the Acer lap