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

Commit a6109297 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: check that ipa_qmi_ctx is not null before accessing it"

parents ed730555 0d87d8a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2042,7 +2042,7 @@ static int ipa_wwan_remove(struct platform_device *pdev)
	ipa_del_dflt_wan_rt_tables();
	ipa_del_a7_qmap_hdr();
	ipa_del_mux_qmap_hdrs();
	if (ipa_qmi_ctx->modem_cfg_emb_pipe_flt == false)
	if (ipa_qmi_ctx && ipa_qmi_ctx->modem_cfg_emb_pipe_flt == false)
		wwan_del_ul_flt_rule_to_ipa();
	/* clean up cached QMI msg/handlers */
	ipa_qmi_service_exit();