Forráskód Böngészése

Merge "msm: ipa3: Add check to avoid Quota indication for WLAN"

qctecmdr 3 éve
szülő
commit
b0c5084b4d
1 módosított fájl, 4 hozzáadás és 0 törlés
  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) {