]> git.baikalelectronics.ru Git - 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)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:51 +0000 (10:40 +0200)
commitef19c8a87f76a66a1171381de3e576a24fb97924
treed1bff022bb0153e13a82dbea4206f3f05ef478e2
parenta2a9e4e2a69d9663a4ec9b2a1697efcbee548833
iwlwifi: mvm: align locking in D3 test debugfs

Since commit 03d71e9f6564 ("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: 03d71e9f6564 ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 03d71e9f6564 ("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>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c