summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-08-15 18:32:03 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-08-22 21:40:39 +0200
commitabc76cf552e13cfa88a204b362a86b0e08e95228 (patch)
tree1310b1bd0ae15b446ffe78d4eb64965ca99654a3 /net/mac80211/cfg.c
parent5d4e04bf3a0f098bd9033de3a5291810fa14c7a6 (diff)
downloadlinux-abc76cf552e13cfa88a204b362a86b0e08e95228.tar.gz
linux-abc76cf552e13cfa88a204b362a86b0e08e95228.tar.bz2
linux-abc76cf552e13cfa88a204b362a86b0e08e95228.zip
wifi: cfg80211: ocb: don't leave if not joined
If there's no OCB state, don't ask the driver/mac80211 to leave, since that's just confusing. Since set/clear the chandef state, that's a simple check. Reported-by: syzbot+09d1cd2f71e6dd3bfd2c@syzkaller.appspotmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions