iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jan 2021 11:05:48 +0000 (13:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Feb 2021 12:55:08 +0000 (13:55 +0100)
commitcc1d805aa544673a26c26eb57b8e4700e53f71ad
tree0cf1420658b7c8217419557060afe905ec7cd85f
parenta90e8588f7eb615527a49ee5451314fe65be5270
iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()

[ Upstream commit 5c56d862c749669d45c256f581eac4244be00d4d ]

We need to take the mutex to call iwl_mvm_get_sync_time(), do it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.4bb5ccf881a6.I62973cbb081e80aa5b0447a5c3b9c3251a65cf6b@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c