Browse Source

qcacld-3.0: rate limit the netif queue control logs

Rate limit the netif queue control logs to avoid excessive prints
in host driver logs.

Change-Id: Ia2ac240310a9b440304c9dc7fdc9fbdb626e2c3f
CRs-Fixed: 3696365
Venkateswara Naralasetty 1 year ago
parent
commit
487a4a58bf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/hdd/src/wlan_hdd_tx_rx.c

+ 3 - 3
core/hdd/src/wlan_hdd_tx_rx.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -1064,8 +1064,8 @@ void wlan_hdd_netif_queue_control(struct hdd_adapter *adapter,
 	if (hdd_adapter_is_link_adapter(adapter))
 		return;
 
-	hdd_debug("netif_control's vdev_id: %d, action: %d, reason: %d",
-		  adapter->deflink->vdev_id, action, reason);
+	hdd_debug_rl("netif_control's vdev_id: %d, action: %d, reason: %d",
+		     adapter->deflink->vdev_id, action, reason);
 
 	switch (action) {