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