Sfoglia il codice sorgente

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 <[email protected]>
Praveen Kurapati 3 anni fa
parent
commit
dd7d524777
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

+ 4 - 0
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

@@ -5522,6 +5522,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) {