Skip to content
Commit fb195ff4 authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

wifi: cfg80211: hold wiphy lock in auto-disconnect

[ Upstream commit e9da6df7

 ]

Most code paths in cfg80211 already hold the wiphy lock,
mostly by virtue of being called from nl80211, so make
the auto-disconnect worker also hold it, aligning the
locking promises between different parts of cfg80211.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Stable-dep-of: 37c20b2e

 ("wifi: cfg80211: fix cqm_config access race")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6b322344
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