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

Commit 9c94e8af authored by Karthik Kantamneni's avatar Karthik Kantamneni Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Fix uninitialized IPA MCC work cancellation

IPA MCC work is initialiazed only when uc code loaded successfully,
before canceling MCC work check for uc load success state.

Change-Id: I9af501d1b974d0da21891634bde2beafd69701b2
CRs-Fixed: 2822382
parent 1562c6b7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3428,6 +3428,7 @@ QDF_STATUS wlan_ipa_cleanup(struct wlan_ipa_priv *ipa_ctx)
	/* Teardown IPA sys_pipe for MCC */
	if (wlan_ipa_uc_sta_is_enabled(ipa_ctx->config)) {
		wlan_ipa_teardown_sys_pipe(ipa_ctx);
		if (ipa_ctx->uc_loaded)
			qdf_cancel_work(&ipa_ctx->mcc_work);
	}