]> 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)
commitfbe8bbcfb46aa7b4ab3b310e12dc2e439c63579f
tree2a93cbb06cddba8db5b63a97088eb1410cd7b27c
parentab33919b50f1584936b901d2cd31ff76d2c81ac3
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