diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-03-09 06:07:23 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-03-24 15:49:31 +0000 |
| commit | f0fb9afb74ec5bec49585772502db62613321fc6 (patch) | |
| tree | 4cac0d7a5641c090e8d5c24526b37ff01bcc2195 /tools/perf/scripts/python | |
| parent | ec0a9b01ef88b5f5bdf74140f8c987f7a96693af (diff) | |
wifi: mt76: check chanctx before restoring channel after ROC
mt76_remove_chanctx() sets phy->chanctx to NULL but does not clear
phy->main_chandef. If ROC is later performed on that phy, completion
tries to restore the stale main_chandef channel, programming the
hardware to sit on a channel with no active context.
Add a chanctx check to avoid restoring a channel when no context is
active.
Link: https://patch.msgid.link/20260309060730.87840-4-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
