]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: don't wakeup-enable device on shutdown if WOL is disabled
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 8 Jan 2021 12:00:13 +0000 (13:00 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 Jan 2021 02:07:53 +0000 (18:07 -0800)
commit2804962bbc2cea91b92a6f39ce13f9b00db716cb
tree258cc75adf5d90ef069617362aa1ccd5b64aacc5
parent47e418685cfe327aa0714d62dd6e8b23fdbcc4d0
r8169: don't wakeup-enable device on shutdown if WOL is disabled

If WOL isn't enabled, then there's no need to enable wakeup from D3
on system shutdown.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c