Selaa lähdekoodia

Merge "msm: ipa: Don't return EAGAIN error "

qctecmdr 3 vuotta sitten
vanhempi
sitoutus
ed20a016bc
1 muutettua tiedostoa jossa 0 lisäystä ja 12 poistoa
  1. 0 12
      drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

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

@@ -6435,18 +6435,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