mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Assert when failed to parse at least one INI param
INI parameters are configured based on requirement. It is expected that atleast one parameter should be configured through INI file. To mandate this, trigger assert when failed to parse atleast one INI parameter from INI file. Change-Id: Ia94f9ae9ce91d7e57f7a6be6c6f955de5ba860a4 CRs-Fixed: 2881695
This commit is contained in:
parent
249826d04e
commit
51fabd458a
1 changed files with 2 additions and 0 deletions
|
|
@ -12577,6 +12577,8 @@ struct hdd_context *hdd_context_create(struct device *dev)
|
|||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
hdd_err("Failed to parse cfg %s; status:%d\n",
|
||||
WLAN_INI_FILE, status);
|
||||
/* Assert if failed to parse at least one INI parameter */
|
||||
QDF_BUG(status != QDF_STATUS_E_INVAL);
|
||||
ret = qdf_status_to_os_return(status);
|
||||
goto err_free_config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue