qcacld-3.0: Refactor few APIs related to updating config in HDD
Refactor following HDD APIs to match coding standard: hdd_update_vht_cap_in_cfg hdd_update_ht_cap_in_cfg hdd_update_config_dat Change-Id: I0da05cad92a558aa4ca5dc585d80adb3a8ea9f1e CRs-Fixed: 1069659
This commit is contained in:
@@ -4255,7 +4255,7 @@ QDF_STATUS hdd_parse_config_ini(hdd_context_t *pHddCtx);
|
||||
QDF_STATUS hdd_update_mac_config(hdd_context_t *pHddCtx);
|
||||
QDF_STATUS hdd_set_sme_config(hdd_context_t *pHddCtx);
|
||||
QDF_STATUS hdd_set_sme_chan_list(hdd_context_t *hdd_ctx);
|
||||
bool hdd_update_config_dat(hdd_context_t *pHddCtx);
|
||||
bool hdd_update_config_cfg(hdd_context_t *pHddCtx);
|
||||
QDF_STATUS hdd_cfg_get_global_config(hdd_context_t *pHddCtx, char *pBuf,
|
||||
int buflen);
|
||||
|
||||
|
File diff soppresso perché troppo grande
Carica Diff
@@ -7167,7 +7167,7 @@ static int hdd_pre_enable_configure(hdd_context_t *hdd_ctx)
|
||||
}
|
||||
|
||||
/* Apply the cfg.ini to cfg.dat */
|
||||
if (!hdd_update_config_dat(hdd_ctx)) {
|
||||
if (!hdd_update_config_cfg(hdd_ctx)) {
|
||||
hdd_alert("config update failed");
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
|
@@ -5075,7 +5075,7 @@ int wlan_hdd_update_phymode(struct net_device *net, tHalHandle hal,
|
||||
phddctx->config->nChannelBondingMode5GHz =
|
||||
smeconfig.csrConfig.channelBondingMode5GHz;
|
||||
phddctx->config->vhtChannelWidth = vhtchanwidth;
|
||||
if (hdd_update_config_dat(phddctx) == false) {
|
||||
if (hdd_update_config_cfg(phddctx) == false) {
|
||||
hdd_err("could not update config_dat");
|
||||
return -EIO;
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user