Re: [PATCH net] net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities

From: Florian Fainelli
Date: Mon Aug 05 2024 - 14:28:55 EST


On 8/5/24 10:25, Florian Fainelli wrote:
From: Florian Fainelli <f.fainelli@xxxxxxxxx>

Some Wake-on-LAN modes such as WAKE_FILTER may only be supported by the MAC,
while others might be only supported by the PHY. Make sure that the .get_wol()
returns the union of both rather than only that of the PHY if the PHY supports
Wake-on-LAN.

Fixes: 7e400ff35cbe ("net: bcmgenet: Add support for PHY-based Wake-on-LAN")
Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

I will be resubmitting this one with the correct email, in 24 hours.
--
Florian