diff options
author | Florian Fainelli <florian.fainelli@broadcom.com> | 2024-08-06 10:56:59 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-08 08:29:29 -0700 |
commit | 9ee09edc05f20422e7ced84b1f8a5d3359926ac8 (patch) | |
tree | c405f760fd48be118f2c332942c7b6165b1f9195 /scripts/generate_rust_analyzer.py | |
parent | 86a41ea9fd79ddb6145cb8ebf5aeafceabca6f7d (diff) |
net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
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 <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20240806175659.3232204-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions