diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2025-12-02 10:25:11 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-12-16 10:23:20 +0100 |
| commit | 99067b58a408a384d2a45c105eb3dce980a862ce (patch) | |
| tree | 8ff07d1b360f1ae3b145f80678672d741e1d1c08 /include/linux/byteorder/git@git.tavy.me:linux.git | |
| parent | e75665dd096819b1184087ba5718bd93beafff51 (diff) | |
wifi: mac80211: don't WARN for connections on invalid channels
It's not clear (to me) how exactly syzbot managed to hit this,
but it seems conceivable that e.g. regulatory changed and has
disabled a channel between scanning (channel is checked to be
usable by cfg80211_get_ies_channel_number) and connecting on
the channel later.
With one scenario that isn't covered elsewhere described above,
the warning isn't good, replace it with a (more informative)
error message.
Reported-by: syzbot+639af5aa411f2581ad38@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20251202102511.5a8fb5184fa3.I961ee41b8f10538a54b8565dbf03ec1696e80e03@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/byteorder/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
