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

Commit da2b6fa5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: Fix setting disconnect in progress flag"

parents 9bb7862e 7df41603
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1466,6 +1466,9 @@ int ipa3_release_gsi_channel(u32 clnt_hdl)
	if (!ep->keep_ipa_awake)
		IPA_ACTIVE_CLIENTS_INC_EP(ipa3_get_client_mapping(clnt_hdl));

	/* Set the disconnect in progress flag to avoid calling cb.*/
	atomic_set(&ep->disconnect_in_progress, 1);

	gsi_res = gsi_dealloc_channel(ep->gsi_chan_hdl);
	if (gsi_res != GSI_STATUS_SUCCESS) {
		IPAERR("Error deallocating channel: %d\n", gsi_res);