Skip to content
Commit ab9177d8 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: don't use rate mask for scanning



The rate mask is intended for use during operation, and
can be set to only have masks for the currently active
band. As such, it cannot be used for scanning which can
be on other bands as well.

Simply ignore the rate masks during scanning to avoid
warnings from incorrect settings.

Reported-by: default avatar <syzbot+fdc5123366fb9c3fdc6d@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=fdc5123366fb9c3fdc6d


Co-developed-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Tested-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Link: https://msgid.link/20240326220854.9594cbb418ca.I7f86c0ba1f98cf7e27c2bacf6c2d417200ecea5c@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 7c1c73bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment