]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iwlwifi: mvm: align locking in D3 test debugfs
authorJohannes Berg <johannes.berg@intel.com>
Sat, 29 Jan 2022 11:16:16 +0000 (13:16 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:40 +0000 (11:57 +0200)
commit937c1acdb256bb686c9007b685112fa5d6449f86
tree03ac9ac06bc94e29ab72c1606be1e02cb198a5a8
parent95902fd59331d6176c47d5933edf2f3820a0a625
iwlwifi: mvm: align locking in D3 test debugfs

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 59e1221f470c2e5d2f2d4c95153edd577a7071c5 ]

Since commit a05829a7222e ("cfg80211: avoid holding the RTNL when
calling the driver") we're not only holding the RTNL when going
in and out of suspend, but also the wiphy->mtx. Add that to the
D3 test debugfs in iwlwifi since it's required for various calls
to mac80211.

Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220129105618.fcec0204e162.Ib73bf787ab4d83581de20eb89b1f8dbfcaaad0e3@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 06511eed8177ece302d74b9acb25d9e47a82ae7d)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c