summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-03-15 22:25:03 +0300
committerFelix Fietkau <nbd@nbd.name>2022-03-16 23:15:10 +0300
commit1f12fa34e5dc57433e63e7137d11afa0df4c5b8f (patch)
tree0037f81142ae9c2ec62065ec22ab69d1ff5928bb /tools/perf
parent32bfd774626d8e1051fe78ae37f0906421a8bd84 (diff)
downloadlinux-1f12fa34e5dc57433e63e7137d11afa0df4c5b8f.tar.xz
mt76: mt7921: don't enable beacon filter when IEEE80211_CONF_CHANGE_MONITOR is set
IEEE80211_CONF_CHANGE_MONITOR would be set every time even when vif runs as sta mode. If vif runs as sta mode, the beacon filter would be falsely enabled earlier than the associated state. That is not the behavior the firmware expects and also breaks the original logic of sta mode. Thus, we only limit the operation to set the beacon filter only for monitor mode when IEEE80211_CONF_CHANGE_MONITOR is set. Fixes: 4ad65a54617c ("mt76: mt7921: toggle runtime-pm adding a monitor vif") Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions