wifi: cfg80211: handle IBSS in channel switch
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:36:03 +0000 (12:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 09:13:50 +0000 (11:13 +0200)
commit77e7b6ba78edf817bddfa97fadb15a971992b1ee
tree87254555a33992c29af7eb2f7ed923b0c6dfbcde
parent591e73ee3f737098723406bcfae43673add31881
wifi: cfg80211: handle IBSS in channel switch

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>
net/wireless/nl80211.c