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

mac80211: disentangle iflist_mtx and chanctx_mtx



At least on iwlwifi, sometimes lockdep complains that we can
lock
 chanctx_mtx -> mvm.mutex -> iflist_mtx
 (due to iterate_interfaces)
and
 iflist_mtx -> chanctx_mtx

Remove the latter dependency in mac80211 by using the RTNL
that we already hold in one case, and can relatively easily
achieve in the other case.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent cf147085
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