diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-04-11 12:46:25 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2021-04-14 12:07:19 +0300 |
commit | 6da29d3b42ea8b23251f8312e083a8da2e5ed6eb (patch) | |
tree | 73767d6f331fc73823d6e9253b90026d7b610e7e /drivers/net/wireless/intel/iwlwifi/mvm/time-event.c | |
parent | aa1540ca7616b996327abb8cb6f19ee91b34dbe0 (diff) | |
download | linux-6da29d3b42ea8b23251f8312e083a8da2e5ed6eb.tar.gz linux-6da29d3b42ea8b23251f8312e083a8da2e5ed6eb.tar.bz2 linux-6da29d3b42ea8b23251f8312e083a8da2e5ed6eb.zip |
iwlwifi: mvm: don't lock mutex in RCU critical section
We cannot lock a mutex while we're in an RCU critical section. At
the same time, we're accessing data structures that are protected
by the mvm->mutex anyway, so just move the entire locking here to
use only that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210411124417.4d27bd36e10e.I1fd8e8fe442c41a5deaa560452b598ed7a60ada5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/time-event.c')
0 files changed, 0 insertions, 0 deletions