diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2021-12-19 11:01:28 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2021-12-20 20:41:30 +0200 |
commit | 97c0979d0d729cded6eae0d7b22d06a2eeeca3a4 (patch) | |
tree | de795297e28e237ab27fcc770492f1c72f67f237 /drivers/net/wireless/microchip/wilc1000/spi.c | |
parent | ab2c42618ab9ff112c2c8b6887e7ff4bf4a8fd7f (diff) |
iwlwifi: mvm: fix imbalanced locking in iwl_mvm_start_get_nvm()
If iwl_transt_start_hw() failed, we were returning without calling
wiphy_unlock() and rtnl_unlock(), causing a locking imbalance:
drivers/net/wireless/intel/iwlwifi/mvm/ops.c:686:12: warning: context imbalance in 'iwl_mvm_start_get_nvm' - wrong count at exit
Fix that by adding the unlock calls.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211219090128.42417-2-luca@coelho.fi
Diffstat (limited to 'drivers/net/wireless/microchip/wilc1000/spi.c')
0 files changed, 0 insertions, 0 deletions