Skip to content
Commit abc76cf5 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatar <syzbot+09d1cd2f71e6dd3bfd2c@syzkaller.appspotmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5d4e04bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment