Rate limit logs in wlan_serialization_peek_head_active_cmd_using_psoc to prevent excessive logging Change-Id: I25bc93754cf4fe5d56fdb67c15b79b72fcda9efd CRs-Fixed: 2574786
@@ -159,7 +159,7 @@ wlan_serialization_peek_head_active_cmd_using_psoc(
&ser_pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_NON_SCAN];
queue = &pdev_queue->active_list;
if (wlan_serialization_list_empty(queue)) {
- ser_err("Empty Queue");
+ ser_debug_rl("Empty Queue");
goto end;
}
@@ -77,6 +77,8 @@
*/
#define ser_err_rl(params...) \
QDF_TRACE_ERROR_RL(QDF_MODULE_ID_SERIALIZATION, params)
+#define ser_debug_rl(params...) \
+ QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_SERIALIZATION, params)
/**
* struct serialization_legacy_callback - to handle legacy serialization cb