Browse Source

msm: ipa: Don't return EAGAIN error

QCMAP queries for stats then disconnect Wlan client in case
of IPPT, so EAGAIN causes 60 retries with failure logs.


Change-Id: Ifaaeec3caed12da4765a3b9546bec84d854076c8
Signed-off-by: Armaan Siddiqui <[email protected]>
Armaan Siddiqui 4 years ago
parent
commit
90c8a139b6
1 changed files with 0 additions and 12 deletions
  1. 0 12
      drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

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

@@ -6437,18 +6437,6 @@ int rmnet_ipa3_query_per_client_stats_v2(
 			return -EINVAL;
 		}
 
-		teth_ptr = &rmnet_ipa3_ctx->tether_device[data->device_type];
-		lan_client = &teth_ptr->lan_client[lan_clnt_idx];
-		/*
-		 * Check if disconnect flag is set and
-		 * and client is inited or not.
-		 * if inited ignore resetting stats and return.
-		 */
-		if (data->disconnect_clnt && lan_client->inited) {
-			IPAWANERR("Client not inited.\n");
-			mutex_unlock(&rmnet_ipa3_ctx->per_client_stats_guard);
-			return -EAGAIN;
-		}
 	} else {
 		/* Max number of clients. */
 		/* Check if disconnect flag is set and