]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
r8169: fix RTL8117 Wake-on-Lan in DASH mode
authorRené Rebe <rene@exactco.de>
Tue, 2 Dec 2025 18:41:37 +0000 (19:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Dec 2025 01:54:07 +0000 (17:54 -0800)
commitdd75c723ef566f7f009c047f47e0eee95fe348ab
tree6fd79f4259e4dfe5b31d6031223367f0e839c994
parente7a9530d125becb49393cb476672b1f7d9278256
r8169: fix RTL8117 Wake-on-Lan in DASH mode

Wake-on-Lan does currently not work for r8169 in DASH mode, e.g. the
ASUS Pro WS X570-ACE with RTL8168fp/RTL8117.

Fix by not returning early in rtl_prepare_power_down when dash_enabled.
While this fixes WoL, it still kills the OOB RTL8117 remote management
BMC connection. Fix by not calling rtl8168_driver_stop if WoL is enabled.

Fixes: 065c27c184d6 ("r8169: phy power ops")
Signed-off-by: René Rebe <rene@exactco.de>
Cc: stable@vger.kernel.org
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/20251202.194137.1647877804487085954.rene@exactco.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c