Configuration parameters were uninitialized
The creation of a CONFIG_PARAM didn't initialize the qdf_param_type value which was later used when adding parameters to the monitors.
This commit is contained in:
@ -279,6 +279,7 @@ handler(void *userdata, const char *section, const char *name, const char *value
|
|||||||
param->name = strdup(name);
|
param->name = strdup(name);
|
||||||
param->value = strdup(value);
|
param->value = strdup(value);
|
||||||
param->next = ptr->parameters;
|
param->next = ptr->parameters;
|
||||||
|
param->qfd_param_type = UNDEFINED_TYPE;
|
||||||
ptr->parameters = param;
|
ptr->parameters = param;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user