Browse Source

qcacmn: Change the loglevel for link desc return failure

In monitor mode, the link descriptor return failure
can occur many times, due to the timer interval.
Logging each failure on the console floods it with
too many unnecessary logs.

Ratelimit the link descriptor return failure in monitor
mode and also change its log level to info.

Change-Id: I5709a33087c6d9271d4246f04ef1acd274fba0f1
CRs-Fixed: 2650480
Rakesh Pillai 5 years ago
parent
commit
590d880a1e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      dp/wifi3.0/dp_rx_mon_dest.c

+ 1 - 2
dp/wifi3.0/dp_rx_mon_dest.c

@@ -435,8 +435,7 @@ next_msdu:
 						   mac_id,
 						   bm_action)
 						   != QDF_STATUS_SUCCESS)
-			QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-				  "dp_rx_monitor_link_desc_return failed");
+			dp_err_rl("monitor link desc return failed");
 	} while (buf_info.paddr && msdu_cnt);
 
 	if (last)