diff options
| author | Florian Fainelli <florian.fainelli@broadcom.com> | 2026-09-22 16:24:34 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-28 17:07:36 -0700 |
| commit | 1b94a9b462d869bbb466767caa28b197953f2a37 (patch) | |
| tree | f73b115cbd7d29c2dab8481b0e668eb8b81ee457 /tools/lib/python/kdoc/python_version.py | |
| parent | 96c201a2f43ea49a65f32929494ac68f2b08b9a3 (diff) | |
net: systemport: Fix Wake-on-LAN RXCHK filter enable loop
In bcm_sysport_suspend_to_wol(), the loop enabling programmed RXCHK
filters in RXCHK_CONTROL used an auxiliary counter 'i' instead of the
actual set filter index 'index'.
When non-contiguous filters were configured (for example, if filter 0
was deleted and filter 1 remained), the code would enable bit
(RXCHK_BRCM_TAG_MATCH_SHIFT + 0) corresponding to filter 0 rather than
filter 1, causing Wake-on-LAN filter matching to fail.
Fix this by using the filter 'index' to set the appropriate match bit
in RXCHK_CONTROL.
Cc: stable+noautosel@kernel.org # never worked
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260922232440.598918-5-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
