Skip to content

Commit 15da5d1

Browse files
author
Kalle Valo
committed
* lower the debug level of a benign print * fix a memory leak
2 parents 2acd846 + 7fdf966 commit 15da5d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,8 @@ void __iwl_mvm_mac_stop(struct iwl_mvm *mvm)
11471147
/* the fw is stopped, the aux sta is dead: clean up driver state */
11481148
iwl_mvm_del_aux_sta(mvm);
11491149

1150+
iwl_free_fw_paging(mvm);
1151+
11501152
/*
11511153
* Clear IN_HW_RESTART flag when stopping the hw (as restart_complete()
11521154
* won't be called in this case).

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,6 @@ static void iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode)
761761
for (i = 0; i < NVM_MAX_NUM_SECTIONS; i++)
762762
kfree(mvm->nvm_sections[i].data);
763763

764-
iwl_free_fw_paging(mvm);
765-
766764
iwl_mvm_tof_clean(mvm);
767765

768766
ieee80211_free_hw(mvm->hw);

drivers/net/wireless/intel/iwlwifi/pcie/trans.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,8 @@ static int iwl_pcie_rsa_race_bug_wa(struct iwl_trans *trans)
732732
*/
733733
val = iwl_read_prph(trans, PREG_AUX_BUS_WPROT_0);
734734
if (val & (BIT(1) | BIT(17))) {
735-
IWL_INFO(trans,
736-
"can't access the RSA semaphore it is write protected\n");
735+
IWL_DEBUG_INFO(trans,
736+
"can't access the RSA semaphore it is write protected\n");
737737
return 0;
738738
}
739739

0 commit comments

Comments
 (0)