summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDeren Wu <deren.wu@mediatek.com>2023-02-11 04:01:58 +0300
committerFelix Fietkau <nbd@nbd.name>2023-04-17 16:34:34 +0300
commitfcc51acfebb85dbc3ab1bea3ce4997d7c0a3a38d (patch)
tree53b183c8632adb965d58615f9a4b4467d6e945d7 /tools/perf/scripts/python/task-analyzer.py
parent64822bdba456a145f7cb4c66d9939bf42c64ae62 (diff)
downloadlinux-fcc51acfebb85dbc3ab1bea3ce4997d7c0a3a38d.tar.xz
wifi: mt76: mt7921: fix wrong command to set STA channel
Should not use AND operator to check vif type NL80211_IFTYPE_MONITOR, and that will cause we go into sniffer command for both STA and MONITOR mode. However, the sniffer command would set channel properly (with some extra options), the STA mode still works even if using the wrong command. Fix vif type check to make sure we using the right command to update channel. Fixes: 914189af23b8 ("wifi: mt76: mt7921: fix channel switch fail in monitor mode") Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions