system/qcom:Use wlan config path from android property wlan.driver.config
wlan.driver.config android property points to the correct wlan driver config file. This config file is used to get/set config items related to wlan driver as indicated from userspace through Qualcomm SoftAP SDK commands. Change-Id: I82efd922c72a77b281f007ba95db7042f5ac5e82 CRs-fixed: 315065
This commit is contained in:
@@ -171,6 +171,7 @@ char *hw_mode[HW_MODE_UNKNOWN] = {
|
||||
/** configuration file path */
|
||||
char *pconffile = CONFIG_FILE;
|
||||
char *fIni = INI_FILE;
|
||||
s8 ini_file[64] = {0};
|
||||
|
||||
/**
|
||||
* @brief
|
||||
@@ -2939,3 +2940,13 @@ void check_for_configuration_files(void)
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void qsap_set_ini_filename(void)
|
||||
{
|
||||
if (property_get("wlan.driver.config", ini_file, NULL)) {
|
||||
fIni = ini_file;
|
||||
LOGE("INI FILE PROP PRESENT %s\n", fIni);
|
||||
} else
|
||||
LOGE("INI FILE PROP NOT PRESENT: Use default path %s\n", fIni);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user