]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: tighten locking check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2022 08:09:57 +0000 (10:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:19 +0000 (11:43 +0200)
commit07ec4227f490a874cee6839f2ddb0012eda30ba0
tree2a93cbb06cddba8db5b63a97088eb1410cd7b27c
parentac3a2dca96cbf91bf0335aec4575eb7490797558
wifi: mac80211: tighten locking check

When we remove a link that doesn't have a channel context,
we don't really need the local->mtx locking. Tighten the
check here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c