Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2a57a35 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach
Browse files

iwlwifi: add missing mutex_destroy statements



iwlwifi / iwlmvm didn't destroy their mutexes. Fix that.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent d8fe4844
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -782,6 +782,9 @@ static void iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode)

	iwl_mvm_tof_clean(mvm);

	mutex_destroy(&mvm->mutex);
	mutex_destroy(&mvm->d0i3_suspend_mutex);

	ieee80211_free_hw(mvm->hw);
}

+1 −0
Original line number Diff line number Diff line
@@ -1695,6 +1695,7 @@ void iwl_trans_pcie_free(struct iwl_trans *trans)
	}

	free_percpu(trans_pcie->tso_hdr_page);
	mutex_destroy(&trans_pcie->mutex);
	iwl_trans_free(trans);
}