qcacmn: Add INI file parse success and failure logs
Some times INI file is empty or wrongly formatted on device and WiFi ON fails because of it and hence add a log message to indicate INI file parse success or failure. Change-Id: I2337fc4ffb4a443ac191f584e283fdc9699a4e04 CRs-Fixed: 2931228
Tento commit je obsažen v:

odevzdal
Madan Koyyalamudi

rodič
9f6ccf3fe6
revize
034e1c4507
@@ -122,11 +122,14 @@ QDF_STATUS qdf_ini_parse(const char *ini_path, void *context,
|
||||
cursor++;
|
||||
}
|
||||
|
||||
qdf_debug("INI values read: %d", ini_read_count);
|
||||
if (ini_read_count != 0)
|
||||
qdf_info("INI values read: %d", ini_read_count);
|
||||
if (ini_read_count != 0) {
|
||||
qdf_info("INI file parse successful");
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
else
|
||||
} else {
|
||||
qdf_info("INI file parse fail: invalid file format");
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
free_fbuf:
|
||||
qdf_file_buf_free(fbuf);
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele