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

Commit 27d52980 authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa3: Fix to maintain correct active count



In resoure manager trying to decrement the active client count two times,
it leads ipa_assert() when actual client trying to decement count.
Added the code changed to maintain the correct active client count.

Change-Id: I56f450996b923bf0ad6b095bca947b89aca45c95
Acked-by: default avatarAshok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent b14f1bf3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1583,7 +1583,6 @@ int ipa3_get_clients_from_rm_resource(
		clients->names[i++] = IPA_CLIENT_WLAN1_CONS;
		clients->names[i++] = IPA_CLIENT_WLAN2_CONS;
		clients->names[i++] = IPA_CLIENT_WLAN3_CONS;
		clients->names[i++] = IPA_CLIENT_WLAN4_CONS;
		break;
	case IPA_RM_RESOURCE_MHI_CONS:
		clients->names[i++] = IPA_CLIENT_MHI_CONS;