summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChad Monroe <chad@monroe.io>2026-07-21 18:53:33 +0000
committerFelix Fietkau <nbd@nbd.name>2026-07-31 12:25:39 +0000
commit2087f029924b75324cfa9a41ba1a349a9620f06e (patch)
treecab36b0fd0c1e24f23a6dcefaea31c7e145bf6ee /tools/perf/scripts/python/stackcollapse.py
parent6bb5066cfcd4296ac5e0b6872f43f96a43bfe566 (diff)
wifi: mt76: mt7996: fix non-MLD station num_sta leak
The MLO link-reconfiguration rework moved the per-phy num_sta decrement inside a link_valid guard. link_valid is only set for MLO links, but num_sta is incremented for every station link, including the non-MLO deflink. Non-MLO stations bump num_sta on association and never drop it on removal. A non-zero num_sta forces connected-mode off-channel scanning which prevents the directed probe exchange needed to find hidden APs. Decrement phy->num_sta on the actual link teardown, pairing it with the unconditional increment on link creation. Fixes: e8c819df0243 ("wifi: mt76: mt7996: Destroy active sta links in mt7996_mac_sta_remove()") Signed-off-by: Chad Monroe <chad@monroe.io> Link: https://patch.msgid.link/20260721185333.2419297-2-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions