Skip to content

Commit b6a46b4

Browse files
Dan CarpenterKalle Valo
authored andcommitted
iwlwifi: mvm: d3: missing unlock in iwl_mvm_wowlan_program_keys()
This code was refactored and the mutex_unlock(&mvm->mutex); was accidentally deleted. Fixes: af3aab9 ("iwlwifi: mvm: d3: make key reprogramming iteration optional") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Luca Coelho <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/20210831081849.GB9846@kili
1 parent 27a221f commit b6a46b4

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/wireless/intel/iwlwifi/mvm

1 file changed

+1
-0
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/d3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ static void iwl_mvm_wowlan_program_keys(struct ieee80211_hw *hw,
160160
mvm->ptk_icvlen = key->icv_len;
161161
mvm->gtk_ivlen = key->iv_len;
162162
mvm->gtk_icvlen = key->icv_len;
163+
mutex_unlock(&mvm->mutex);
163164

164165
/* don't upload key again */
165166
return;

0 commit comments

Comments
 (0)