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

Commit b946aea8 authored by Praveen Kurapati's avatar Praveen Kurapati
Browse files

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: default avatarPraveen Kurapati <pkurapat@codeaurora.org>
parent a890ae3b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) {