diff options
author | 2023-08-28 14:00:06 +0200 | |
---|---|---|
committer | 2023-09-11 11:27:22 +0200 | |
commit | be0df01dae0f21303a7a523dbba35159cf6dfe77 (patch) | |
tree | 65c5566ec477eaa6f710d40d08f8ef9e3dfe3349 /net/wireless/core.c | |
parent | wifi: mac80211: remove local->mtx (diff) | |
download | wireguard-linux-be0df01dae0f21303a7a523dbba35159cf6dfe77.tar.xz wireguard-linux-be0df01dae0f21303a7a523dbba35159cf6dfe77.zip |
wifi: mac80211: reduce iflist_mtx
We now hold the wiphy mutex everywhere that we use or
needed the iflist_mtx, so we don't need this mutex any
more in mac80211. However, drivers may also iterate,
and in some cases (e.g. mt76) do so from high-priority
contexts. Thus, keep the mutex around but remove its
usage in mac80211 apart from those driver-visible parts
that are still needed.
Most of this change was done automatically with spatch,
with the parts that are still needed as described above
reverted manually.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.c')
0 files changed, 0 insertions, 0 deletions