]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: cfg80211: handle IBSS in channel switch
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:36:03 +0000 (12:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 13:16:20 +0000 (15:16 +0200)
commitd658df243d3e997468bdf78cd03ebe44151973d5
treec52246b112ea4191270ead2d5a7151324166d63d
parentaf37d2080c2a8598a54945fc6df60e266c9dc43b
wifi: cfg80211: handle IBSS in channel switch

commit 77e7b6ba78edf817bddfa97fadb15a971992b1ee upstream.

Prior to commit 7b0a0e3c3a88 ("wifi: cfg80211: do some
rework towards MLO link APIs") the interface type didn't
really matter here, but now we need to handle all of the
possible cases. Add IBSS ("ADHOC") and handle it.

Fixes: 7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link APIs")
Reported-by: syzbot+90d912872157e63589e4@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c