qcacld-3.0: Rename HDD variable uActionPeriod

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable uActionPeriod to be
compliant.

Change-Id: I9aee7d6d943f687644eec10dd051f79132b919bf
CRs-Fixed: 2408055
This commit is contained in:
Jeff Johnson
2019-02-26 19:42:35 -08:00
committed by nshrivas
父節點 6837f0cd36
當前提交 3972e0d615

查看文件

@@ -4871,7 +4871,7 @@ static int hdd_parse_setrmcactionperiod_command(uint8_t *pvalue,
*paction_period = temp_int;
hdd_debug("uActionPeriod: %d", *paction_period);
hdd_debug("action_period: %d", *paction_period);
return 0;
}
@@ -5000,7 +5000,7 @@ static int drv_cmd_set_rmc_action_period(struct hdd_adapter *adapter,
{
int ret = 0;
uint8_t *value = command;
uint32_t uActionPeriod = 0;
uint32_t action_period = 0;
int status;
mac_handle_t mac_handle;
@@ -5014,20 +5014,20 @@ static int drv_cmd_set_rmc_action_period(struct hdd_adapter *adapter,
goto exit;
}
status = hdd_parse_setrmcactionperiod_command(value, &uActionPeriod);
status = hdd_parse_setrmcactionperiod_command(value, &action_period);
if (status) {
hdd_err("Invalid SETRMCACTIONPERIOD command");
ret = -EINVAL;
goto exit;
}
hdd_debug("uActionPeriod %d", uActionPeriod);
hdd_debug("action_period %d", action_period);
mac_handle = hdd_ctx->mac_handle;
if (ucfg_mlme_set_rmc_action_period_freq(hdd_ctx->psoc,
uActionPeriod) !=
action_period) !=
QDF_STATUS_SUCCESS) {
hdd_err("Could not set SETRMCACTIONPERIOD %d", uActionPeriod);
hdd_err("Could not set SETRMCACTIONPERIOD %d", action_period);
ret = -EINVAL;
goto exit;
}