Преглед на файлове

qcacld-3.0: Check to verify the status returned by cfg_parse()

Verify the status returned by cfg_parse() function after parsing
the wlan ini file.

Change-Id: I89b44dec614130ee8a6e5af19cea85e47fd53d64
CRs-fixed: 2826976
Aditya Kodukula преди 4 години
родител
ревизия
8a8277ddfc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -12152,6 +12152,7 @@ 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);