diff options
author | 2021-12-02 15:28:54 +0200 | |
---|---|---|
committer | 2021-12-14 11:20:11 +0100 | |
commit | e08ebd6d7b90ae81f21425ca39136f5b2272580f (patch) | |
tree | c88cb7c037fb7d631d044f526412724015433050 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock (diff) | |
download | wireguard-linux-e08ebd6d7b90ae81f21425ca39136f5b2272580f.tar.xz wireguard-linux-e08ebd6d7b90ae81f21425ca39136f5b2272580f.zip |
cfg80211: Acquire wiphy mutex on regulatory work
The function cfg80211_reg_can_beacon_relax() expects wiphy
mutex to be held when it is being called. However, when
reg_leave_invalid_chans() is called the mutex is not held.
Fix it by acquiring the lock before calling the function.
Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211202152831.527686cda037.I40ad9372a47cbad53b4aae7b5a6ccc0dc3fddf8b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions