diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-08-15 19:32:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-23 12:14:22 +0300 |
commit | 94332210902967b7d63294b43428c8ed075b20e6 (patch) | |
tree | 03ea19175c9c63f30877d201d0ccf69e037ede7c /.clang-format | |
parent | 07added2c6cd63de047bc786b39436322abb67c0 (diff) | |
download | linux-94332210902967b7d63294b43428c8ed075b20e6.tar.xz |
wifi: cfg80211: ocb: don't leave if not joined
[ Upstream commit abc76cf552e13cfa88a204b362a86b0e08e95228 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions