qcacld-3.0: Rename HDD identifier wmmContextList

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmContextList to be compliant.

Change-Id: Ia48fa11624e9f4413871a1f443503cbacc86f09f
CRs-Fixed: 2412983
This commit is contained in:
Jeff Johnson
2019-03-09 08:48:27 -08:00
committed by nshrivas
parent 12e1233a74
commit 8f656c64b5
2 changed files with 10 additions and 10 deletions

View File

@@ -176,14 +176,14 @@ struct hdd_wmm_ac_status {
/** /**
* struct hdd_wmm_status - WMM status maintained per-adapter * struct hdd_wmm_status - WMM status maintained per-adapter
* @wmmContextList - list of WMM contexts active on the adapter * @context_list - list of WMM contexts active on the adapter
* @mutex - mutex used for exclusive access to this adapter's WMM status * @mutex - mutex used for exclusive access to this adapter's WMM status
* @ac_status - per-AC WMM status * @ac_status - per-AC WMM status
* @qap - is this connected to a QoS-enabled AP? * @qap - is this connected to a QoS-enabled AP?
* @qos_connection - is this a QoS connection? * @qos_connection - is this a QoS connection?
*/ */
struct hdd_wmm_status { struct hdd_wmm_status {
struct list_head wmmContextList; struct list_head context_list;
struct mutex mutex; struct mutex mutex;
struct hdd_wmm_ac_status ac_status[WLAN_MAX_AC]; struct hdd_wmm_ac_status ac_status[WLAN_MAX_AC];
bool qap; bool qap;

View File

@@ -1374,7 +1374,7 @@ static void __hdd_wmm_do_implicit_qos(struct hdd_wmm_qos_context *qos_context)
} }
mutex_lock(&adapter->hdd_wmm_status.mutex); mutex_lock(&adapter->hdd_wmm_status.mutex);
list_add(&qos_context->node, &adapter->hdd_wmm_status.wmmContextList); list_add(&qos_context->node, &adapter->hdd_wmm_status.context_list);
mutex_unlock(&adapter->hdd_wmm_status.mutex); mutex_unlock(&adapter->hdd_wmm_status.mutex);
#ifndef WLAN_MDM_CODE_REDUCTION_OPT #ifndef WLAN_MDM_CODE_REDUCTION_OPT
@@ -1510,7 +1510,7 @@ QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter)
hdd_enter(); hdd_enter();
adapter->hdd_wmm_status.qap = false; adapter->hdd_wmm_status.qap = false;
INIT_LIST_HEAD(&adapter->hdd_wmm_status.wmmContextList); INIT_LIST_HEAD(&adapter->hdd_wmm_status.context_list);
mutex_init(&adapter->hdd_wmm_status.mutex); mutex_init(&adapter->hdd_wmm_status.mutex);
for (ac_type = 0; ac_type < WLAN_MAX_AC; ac_type++) { for (ac_type = 0; ac_type < WLAN_MAX_AC; ac_type++) {
@@ -1576,9 +1576,9 @@ QDF_STATUS hdd_wmm_adapter_close(struct hdd_adapter *adapter)
hdd_enter(); hdd_enter();
/* free any context records that we still have linked */ /* free any context records that we still have linked */
while (!list_empty(&adapter->hdd_wmm_status.wmmContextList)) { while (!list_empty(&adapter->hdd_wmm_status.context_list)) {
qos_context = qos_context =
list_first_entry(&adapter->hdd_wmm_status.wmmContextList, list_first_entry(&adapter->hdd_wmm_status.context_list,
struct hdd_wmm_qos_context, node); struct hdd_wmm_qos_context, node);
hdd_wmm_disable_inactivity_timer(qos_context); hdd_wmm_disable_inactivity_timer(qos_context);
@@ -2322,7 +2322,7 @@ hdd_wlan_wmm_status_e hdd_wmm_addts(struct hdd_adapter *adapter,
/* see if a context already exists with the given handle */ /* see if a context already exists with the given handle */
mutex_lock(&adapter->hdd_wmm_status.mutex); mutex_lock(&adapter->hdd_wmm_status.mutex);
list_for_each_entry(qos_context, list_for_each_entry(qos_context,
&adapter->hdd_wmm_status.wmmContextList, node) { &adapter->hdd_wmm_status.context_list, node) {
if (qos_context->handle == handle) { if (qos_context->handle == handle) {
found = true; found = true;
break; break;
@@ -2405,7 +2405,7 @@ hdd_wlan_wmm_status_e hdd_wmm_addts(struct hdd_adapter *adapter,
hdd_debug("Setting up QoS, context %pK", qos_context); hdd_debug("Setting up QoS, context %pK", qos_context);
mutex_lock(&adapter->hdd_wmm_status.mutex); mutex_lock(&adapter->hdd_wmm_status.mutex);
list_add(&qos_context->node, &adapter->hdd_wmm_status.wmmContextList); list_add(&qos_context->node, &adapter->hdd_wmm_status.context_list);
mutex_unlock(&adapter->hdd_wmm_status.mutex); mutex_unlock(&adapter->hdd_wmm_status.mutex);
#ifndef WLAN_MDM_CODE_REDUCTION_OPT #ifndef WLAN_MDM_CODE_REDUCTION_OPT
@@ -2503,7 +2503,7 @@ hdd_wlan_wmm_status_e hdd_wmm_delts(struct hdd_adapter *adapter,
/* locate the context with the given handle */ /* locate the context with the given handle */
mutex_lock(&adapter->hdd_wmm_status.mutex); mutex_lock(&adapter->hdd_wmm_status.mutex);
list_for_each_entry(qos_context, list_for_each_entry(qos_context,
&adapter->hdd_wmm_status.wmmContextList, node) { &adapter->hdd_wmm_status.context_list, node) {
if (qos_context->handle == handle) { if (qos_context->handle == handle) {
found = true; found = true;
ac_type = qos_context->ac_type; ac_type = qos_context->ac_type;
@@ -2605,7 +2605,7 @@ hdd_wlan_wmm_status_e hdd_wmm_checkts(struct hdd_adapter *adapter, uint32_t hand
/* locate the context with the given handle */ /* locate the context with the given handle */
mutex_lock(&adapter->hdd_wmm_status.mutex); mutex_lock(&adapter->hdd_wmm_status.mutex);
list_for_each_entry(qos_context, list_for_each_entry(qos_context,
&adapter->hdd_wmm_status.wmmContextList, node) { &adapter->hdd_wmm_status.context_list, node) {
if (qos_context->handle == handle) { if (qos_context->handle == handle) {
hdd_debug("found handle 0x%x, context %pK", hdd_debug("found handle 0x%x, context %pK",
handle, qos_context); handle, qos_context);