qcacld-3.0: Rename field enableGreenAP in struct hdd_config
Since camelCase is frowned upon in the Linux coding style, rename field enableGreenAP in struct hdd_config. Change-Id: Ie541289f79b2bfe9f2bf490bbcde7e0649e0395d CRs-Fixed: 2218692
This commit is contained in:
parent
bd769ad27a
commit
53fe40a9bf
@ -14912,7 +14912,7 @@ struct hdd_config {
|
||||
bool IsSapDfsChSifsBurstEnabled;
|
||||
|
||||
#ifdef WLAN_SUPPORT_GREEN_AP
|
||||
bool enableGreenAP;
|
||||
bool enable_green_ap;
|
||||
bool enable_egap;
|
||||
uint32_t egap_feature_flag;
|
||||
uint32_t egap_inact_time;
|
||||
|
@ -3323,7 +3323,7 @@ struct reg_table_entry g_registry_table[] = {
|
||||
|
||||
#ifdef WLAN_SUPPORT_GREEN_AP
|
||||
REG_VARIABLE(CFG_ENABLE_GREEN_AP_FEATURE, WLAN_PARAM_Integer,
|
||||
struct hdd_config, enableGreenAP,
|
||||
struct hdd_config, enable_green_ap,
|
||||
VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
|
||||
CFG_ENABLE_GREEN_AP_FEATURE_DEFAULT,
|
||||
CFG_ENABLE_GREEN_AP_FEATURE_MIN,
|
||||
@ -6919,7 +6919,7 @@ void hdd_cfg_print(struct hdd_context *hdd_ctx)
|
||||
hdd_ctx->config->gDisableDfsJapanW53);
|
||||
#ifdef WLAN_SUPPORT_GREEN_AP
|
||||
hdd_debug("Name = [gEnableGreenAp] Value = [%u] ",
|
||||
hdd_ctx->config->enableGreenAP);
|
||||
hdd_ctx->config->enable_green_ap);
|
||||
hdd_debug("Name = [gEenableEGAP] Value = [%u] ",
|
||||
hdd_ctx->config->enable_egap);
|
||||
hdd_debug("Name = [gEGAPInactTime] Value = [%u] ",
|
||||
|
@ -122,9 +122,9 @@ int hdd_green_ap_start_state_mc(struct hdd_context *hdd_ctx,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (!cfg->enable2x2 || !cfg->enableGreenAP) {
|
||||
hdd_info("Green AP support not present: enable2x2: %d, enableGreenAp: %d",
|
||||
cfg->enable2x2, cfg->enableGreenAP);
|
||||
if (!cfg->enable2x2 || !cfg->enable_green_ap) {
|
||||
hdd_info("Green AP support not present: enable2x2: %d, enable_green_ap: %d",
|
||||
cfg->enable2x2, cfg->enable_green_ap);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user