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 <pkurapat@codeaurora.org>
Dieser Commit ist enthalten in:
Praveen Kurapati
2021-05-27 22:55:17 +05:30
committet von Gerrit - the friendly Code Review server
Ursprung 1225463004
Commit dd7d524777

Datei anzeigen

@@ -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) {