Skip to content
Commit 7d0606bd authored by Raju Lakkaraju's avatar Raju Lakkaraju Committed by Greg Kroah-Hartman
Browse files

net: lan743x: Support WOL at both the PHY and MAC appropriately



[ Upstream commit 8c248cd8 ]

Prevent options not supported by the PHY from being requested to it by the MAC
Whenever a WOL option is supported by both, the PHY is given priority
since that usually leads to better power savings.

Fixes: e9e13b6a ("lan743x: fix for potential NULL pointer dereference with bare card")
Reviewed-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: default avatarRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2af9aa9a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment