diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-03-27 00:08:54 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-04-08 21:11:34 +0300 |
commit | ab9177d83c040eba58387914077ebca56f14fae6 (patch) | |
tree | c46865a2e3043d6225b4b70033420055dbaddbea /include/net/cfg802154.h | |
parent | 7c1c73bf84c50b641449f9811e2196cdc3ca4a1b (diff) | |
download | linux-ab9177d83c040eba58387914077ebca56f14fae6.tar.xz |
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: syzbot+fdc5123366fb9c3fdc6d@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=fdc5123366fb9c3fdc6d
Co-developed-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Tested-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://msgid.link/20240326220854.9594cbb418ca.I7f86c0ba1f98cf7e27c2bacf6c2d417200ecea5c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg802154.h')
0 files changed, 0 insertions, 0 deletions