mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Rate limit logs in serialization API
Rate limit logs in wlan_serialization_peek_head_active_cmd_using_psoc to prevent excessive logging Change-Id: I25bc93754cf4fe5d56fdb67c15b79b72fcda9efd CRs-Fixed: 2574786
This commit is contained in:
parent
98ec4d132b
commit
85d32ab984
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue