mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Rename HDD identifier wmmInactivityTime
The Linux Coding Style frowns upon mixed-case names so rename HDD identifier wmmInactivityTime to be compliant. Change-Id: Iceffbf91bba02635d0174fa25db3d0401e450146 CRs-Fixed: 2414524
This commit is contained in:
parent
a2b8b4783f
commit
154193b1ac
2 changed files with 5 additions and 5 deletions
|
|
@ -148,7 +148,7 @@ struct hdd_wmm_qos_context {
|
|||
* @uapsd_service_interval - service interval for this AC
|
||||
* @uapsd_suspension_interval - suspension interval for this AC
|
||||
* @uapsd_direction - direction for this AC
|
||||
* @wmmInactivityTime - inactivity time for this AC
|
||||
* @inactivity_time - inactivity time for this AC
|
||||
* @wmmPrevTrafficCnt - TX counter used for inactivity detection
|
||||
* @inactivity_timer - timer used for inactivity detection
|
||||
*/
|
||||
|
|
@ -168,7 +168,7 @@ struct hdd_wmm_ac_status {
|
|||
enum sme_qos_wmm_dir_type uapsd_direction;
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
uint32_t wmmInactivityTime;
|
||||
uint32_t inactivity_time;
|
||||
uint32_t wmmPrevTrafficCnt;
|
||||
qdf_mc_timer_t inactivity_timer;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@ static void hdd_wmm_inactivity_timer_cb(void *user_data)
|
|||
/* Restart the timer */
|
||||
qdf_status =
|
||||
qdf_mc_timer_start(&ac->inactivity_timer,
|
||||
ac->wmmInactivityTime);
|
||||
ac->inactivity_time);
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
hdd_err("Restarting inactivity timer failed on AC %d",
|
||||
ac_type);
|
||||
|
|
@ -418,7 +418,7 @@ hdd_wmm_enable_inactivity_timer(struct hdd_wmm_qos_context *qos_context,
|
|||
|
||||
return qdf_status;
|
||||
}
|
||||
ac->wmmInactivityTime = inactivityTime;
|
||||
ac->inactivity_time = inactivityTime;
|
||||
/* Initialize the current tx traffic count on this AC */
|
||||
ac->wmmPrevTrafficCnt =
|
||||
adapter->hdd_stats.tx_rx_stats.tx_classified_ac[qos_context->
|
||||
|
|
@ -447,7 +447,7 @@ hdd_wmm_disable_inactivity_timer(struct hdd_wmm_qos_context *qos_context)
|
|||
QDF_STATUS qdf_status = QDF_STATUS_E_FAILURE;
|
||||
|
||||
/* Clear the timer and the counter */
|
||||
ac->wmmInactivityTime = 0;
|
||||
ac->inactivity_time = 0;
|
||||
ac->wmmPrevTrafficCnt = 0;
|
||||
|
||||
if (qos_context->is_inactivity_timer_running == true) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue