qcacld-3.0: Don't assert if INI parsing failed due to system reboot

Currently driver is asserting when INI file parsing is failed.
But it is expected to fail when system state is under reboot or
power off. This is because kernel disables file reading during this
reboot or power off.

To address this, Remove the assert based on the status of cfg_parse
API.

Change-Id: Ief92e1af5cc22d4bfad481953f203719a9c17343
CRs-Fixed: 2877051
This commit is contained in:
Bapiraju Alla 2021-02-12 15:08:59 +05:30 • committed by snandini
commit 2a9234e60e

View file

@ -12558,7 +12558,6 @@ struct hdd_context *hdd_context_create(struct device *dev)
}
status = cfg_parse(WLAN_INI_FILE);
QDF_BUG(QDF_IS_STATUS_SUCCESS(status));
if (QDF_IS_STATUS_ERROR(status)) {
hdd_err("Failed to parse cfg %s; status:%d\n",
WLAN_INI_FILE, status);