mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
6c7c39fd27
commit
df0f8742c0
4 changed files with 341 additions and 446 deletions
|
|
@ -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 suppressed because it is too large
Load 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue