|
@@ -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;
|
|
|
}
|