Well, the literal approach to "not even use the bitrate mask for scanning" may look like the following. It fixes an original WARN_ONCE() as reported by syzkaller, but I'm definitely interesting on how to check whether it doesn't break something else. Dmitry Antipov (1): wifi: mac80211: ignore the bitrate mask when scanning include/net/mac80211.h | 3 +++ net/mac80211/rate.c | 4 +++- net/mac80211/scan.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) -- 2.43.0