mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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:
parent
3b91a6a2c1
commit
2a9234e60e
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue