From b946aea8f0ac206aa7c00f66c98630afb168f889 Mon Sep 17 00:00:00 2001 From: Praveen Kurapati Date: Thu, 27 May 2021 22:55:17 +0530 Subject: [PATCH] msm: ipa3: Add check to avoid Quota indication for WLAN Quota indication is not yet supported on WLAN Iface. Add check to return if the request comes for WLAN Iface. Change-Id: Ib183d0ed21a87f6f759af8d4e5bc4093dffd9374 Signed-off-by: Praveen Kurapati --- drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c index 7ac4f52e67af..0a7e050d01d9 100644 --- a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c @@ -4279,6 +4279,10 @@ void ipa3_broadcast_quota_reach_ind(u32 mux_id, if (upstream_type == IPA_UPSTEAM_MAX) { IPAWANERR(" Wrong upstreamIface type %d\n", upstream_type); return; + } else if (upstream_type == IPA_UPSTEAM_WLAN) { + /* TODO: Fix this case when adding quota on WLAN Backhaul*/ + IPAWANERR_RL("Quota indication is not supported for WLAN\n"); + return; } else if (upstream_type == IPA_UPSTEAM_MODEM) { index = ipa3_find_mux_channel_index(mux_id); if (index == MAX_NUM_OF_MUX_CHANNEL) {