Browse Source

Merge "msm: ipa4: Add ratelimit log in per client stats case"

qctecmdr 4 years ago
parent
commit
09f671ef51
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

+ 3 - 3
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c

@@ -4665,7 +4665,7 @@ int rmnet_ipa3_query_per_client_stats(
 	/* Check if Source pipe is valid. */
 	if (rmnet_ipa3_ctx->tether_device
 		[data->device_type].ul_src_pipe == -1) {
-		IPAWANERR("Device not initialized: %d\n", data->device_type);
+		IPAWANERR_RL("Device not initialized: %d\n", data->device_type);
 		mutex_unlock(&rmnet_ipa3_ctx->per_client_stats_guard);
 		return -EINVAL;
 	}
@@ -4697,7 +4697,7 @@ int rmnet_ipa3_query_per_client_stats(
 		 */
 		if (data->disconnect_clnt &&
 			lan_client->inited) {
-			IPAWANERR("Client not inited. Try again.\n");
+			IPAWANERR_RL("Client not inited. Try again.\n");
 			mutex_unlock(&rmnet_ipa3_ctx->per_client_stats_guard);
 			return -EAGAIN;
 		}
@@ -4709,7 +4709,7 @@ int rmnet_ipa3_query_per_client_stats(
 		 */
 		if (data->disconnect_clnt &&
 			rmnet_ipa3_check_any_client_inited(data->device_type)) {
-			IPAWANERR("CLient not inited. Try again.\n");
+			IPAWANERR_RL("CLient not inited. Try again.\n");
 			mutex_unlock(&rmnet_ipa3_ctx->per_client_stats_guard);
 			return -EAGAIN;
 		}