[lvc-project] [PATCH 0/1] Re: wifi: mac80211: don't ask rate control with zero rate mask if scanning

Dmitry Antipov dmantipov at yandex.ru
Thu Jan 25 12:07:34 MSK 2024


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



More information about the lvc-project mailing list