diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-01-28 14:30:53 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-02-03 10:24:48 +0200 |
commit | 4c29c1e27a1e178a219b3877d055e6dd643bdfda (patch) | |
tree | 343866462a12811f977500cfcaa43a5cc6e6e6db /drivers/net/wireless/intel/iwlwifi/mei | |
parent | e9848aed147708a06193b40d78493b0ef6abccf2 (diff) | |
download | linux-stable-4c29c1e27a1e178a219b3877d055e6dd643bdfda.tar.gz linux-stable-4c29c1e27a1e178a219b3877d055e6dd643bdfda.tar.bz2 linux-stable-4c29c1e27a1e178a219b3877d055e6dd643bdfda.zip |
iwlwifi: pcie: gen2: fix locking when "HW not ready"
If we run into this error path, we shouldn't unlock the mutex
since it's not locked since. Fix this in the gen2 code as well.
Fixes: eda50cde58de ("iwlwifi: pcie: add context information support")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/iwlwifi.20220128142706.b8b0dfce16ef.Ie20f0f7b23e5911350a2766524300d2915e7b677@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mei')
0 files changed, 0 insertions, 0 deletions