mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Rate limit error logs in data path
Rate limit error logs in data path to avoid watch dog bark. Change-Id: Id20f6224928c6b5e27a04daa6b9a10084ad122b9 CRs-Fixed: 2162954
This commit is contained in:
parent
63e72af541
commit
6d0b2eaaf0
1 changed files with 3 additions and 1 deletions
|
|
@ -183,6 +183,7 @@ static struct attribute *attrs[] = {
|
|||
|
||||
#define HDD_OPS_INACTIVITY_TIMEOUT (120000)
|
||||
#define MAX_OPS_NAME_STRING_SIZE 20
|
||||
#define RATE_LIMIT_ERROR_LOG (256)
|
||||
|
||||
static qdf_timer_t hdd_drv_ops_inactivity_timer;
|
||||
static struct task_struct *hdd_drv_ops_task;
|
||||
|
|
@ -5682,7 +5683,8 @@ struct hdd_adapter *hdd_get_adapter_by_vdev(struct hdd_context *hdd_ctx,
|
|||
return adapter;
|
||||
}
|
||||
|
||||
hdd_err("vdev_id %d does not exist with host", vdev_id);
|
||||
hdd_err_ratelimited(RATE_LIMIT_ERROR_LOG,
|
||||
"vdev_id %d does not exist with host", vdev_id);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue