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

Commit 8383dce0 authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa4: Check give client was apps producer or not



Add changes to check given client pipe was LAN_PROD/WAN_PROD
or not, If the client is apps producer return true otherwise
return false.

Change-Id: I1a5157314d05e36215409c6370d833186c1474f8
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent b482dc81
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -404,6 +404,10 @@ enum ipa_client_type {
	(client) == IPA_CLIENT_APPS_WAN_CONS || \
	(client) == IPA_CLIENT_APPS_WAN_COAL_CONS)

#define IPA_CLIENT_IS_APPS_PROD(client) \
	((client) == IPA_CLIENT_APPS_LAN_PROD || \
	(client) == IPA_CLIENT_APPS_WAN_PROD)

#define IPA_CLIENT_IS_USB_CONS(client) \
	((client) == IPA_CLIENT_USB_CONS || \
	(client) == IPA_CLIENT_USB2_CONS || \