From 26ef71e02ab1f76259b20cc4e9f1b0d301aba288 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 8 Mar 2019 23:24:29 -0800 Subject: [PATCH] qcacld-3.0: Rename HDD identifier wmmQap The Linux Coding Style frowns upon mixed-case names so rename HDD identifier wmmQap to be compliant. Change-Id: I016bb2ce37d46ad246b89c95b0062a7f4a22f880 CRs-Fixed: 2412980 --- core/hdd/inc/wlan_hdd_wmm.h | 4 ++-- core/hdd/src/wlan_hdd_wmm.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_wmm.h b/core/hdd/inc/wlan_hdd_wmm.h index 56157224c891..705633883e73 100644 --- a/core/hdd/inc/wlan_hdd_wmm.h +++ b/core/hdd/inc/wlan_hdd_wmm.h @@ -179,14 +179,14 @@ struct hdd_wmm_ac_status { * @wmmContextList - list of WMM contexts active on the adapter * @wmmLock - mutex used for exclusive access to this adapter's WMM status * @wmmACStatus - per-AC WMM status - * @wmmQap - is this connected to a QoS-enabled AP? + * @qap - is this connected to a QoS-enabled AP? * @wmmQosConnection - is this a QoS connection? */ struct hdd_wmm_status { struct list_head wmmContextList; struct mutex wmmLock; struct hdd_wmm_ac_status wmmAcStatus[WLAN_MAX_AC]; - bool wmmQap; + bool qap; bool wmmQosConnection; }; diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index ae15a6aff5c2..8706cfc6a386 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -1509,7 +1509,7 @@ QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter) hdd_enter(); - adapter->hdd_wmm_status.wmmQap = false; + adapter->hdd_wmm_status.qap = false; INIT_LIST_HEAD(&adapter->hdd_wmm_status.wmmContextList); mutex_init(&adapter->hdd_wmm_status.wmmLock); @@ -2201,7 +2201,7 @@ QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter, hdd_debug("qap is %d, qos_connection is %d, acm_mask is 0x%x", qap, qos_connection, acm_mask); - adapter->hdd_wmm_status.wmmQap = qap; + adapter->hdd_wmm_status.qap = qap; adapter->hdd_wmm_status.wmmQosConnection = qos_connection; mac_handle = hdd_adapter_get_mac_handle(adapter); @@ -2262,7 +2262,7 @@ QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter, bool hdd_wmm_is_active(struct hdd_adapter *adapter) { if ((!adapter->hdd_wmm_status.wmmQosConnection) || - (!adapter->hdd_wmm_status.wmmQap)) { + (!adapter->hdd_wmm_status.qap)) { return false; } else { return true;