system/qcom: stores data rate info in qcom_cfg.ini.
In qsap_set_channel function, write the gFixedRate to qcom_cfg.ini file instead of trying to write to hostapd.conf. Change-Id: I9b9fa65dde580ec2489bbe8e0e37af5bfd44d72a CRs-fixed: 298556
This commit is contained in:
@@ -2105,7 +2105,7 @@ static int qsap_set_channel(s32 channel, s8 *tbuf, u32 *tlen)
|
|||||||
|
|
||||||
ulen = *tlen;
|
ulen = *tlen;
|
||||||
snprintf(schan, MAX_INT_STR, "%d", AUTO_DATA_RATE);
|
snprintf(schan, MAX_INT_STR, "%d", AUTO_DATA_RATE);
|
||||||
if(eSUCCESS != qsap_write_cfg(fIni, &qsap_str[STR_DATA_RATE_IN_INI], schan, tbuf, &ulen, HOSTAPD_CONF_FILE)) {
|
if(eSUCCESS != qsap_write_cfg(fIni, &qsap_str[STR_DATA_RATE_IN_INI], schan, tbuf, &ulen, INI_CONF_FILE)) {
|
||||||
LOGE("%s :Unable to set to auto data rate \n", __func__);
|
LOGE("%s :Unable to set to auto data rate \n", __func__);
|
||||||
return eERR_UNKNOWN;
|
return eERR_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user