On 3/27/24 00:08, Johannes Berg wrote:
From: Johannes Berg <johannes.berg@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxx Closes: https://syzkaller.appspot.com/bug?extid=fdc5123366fb9c3fdc6d Co-developed-by: Dmitry Antipov <dmantipov@xxxxxxxxx> Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
Tested-by: Dmitry Antipov <dmantipov@xxxxxxxxx>