From 7f63ac9d1bb844548a2b3597ebe882b61a446175 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 8 Mar 2019 23:26:37 -0800 Subject: [PATCH] qcacld-3.0: Rename HDD identifier wmmQosConnection The Linux Coding Style frowns upon mixed-case names so rename HDD identifier wmmQosConnection to be compliant. Change-Id: Ib23c8cca8d1adbb2fcc86686477aa5470e1b761e CRs-Fixed: 2412981 --- core/hdd/inc/wlan_hdd_wmm.h | 4 ++-- core/hdd/src/wlan_hdd_wmm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_wmm.h b/core/hdd/inc/wlan_hdd_wmm.h index 705633883e73..53f4333e90b3 100644 --- a/core/hdd/inc/wlan_hdd_wmm.h +++ b/core/hdd/inc/wlan_hdd_wmm.h @@ -180,14 +180,14 @@ struct hdd_wmm_ac_status { * @wmmLock - mutex used for exclusive access to this adapter's WMM status * @wmmACStatus - per-AC WMM status * @qap - is this connected to a QoS-enabled AP? - * @wmmQosConnection - is this a QoS connection? + * @qos_connection - 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 qap; - bool wmmQosConnection; + bool qos_connection; }; extern const uint8_t hdd_qdisc_ac_to_tl_ac[]; diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index 8706cfc6a386..b2272a7e6c94 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -2202,7 +2202,7 @@ QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter, qap, qos_connection, acm_mask); adapter->hdd_wmm_status.qap = qap; - adapter->hdd_wmm_status.wmmQosConnection = qos_connection; + adapter->hdd_wmm_status.qos_connection = qos_connection; mac_handle = hdd_adapter_get_mac_handle(adapter); for (ac = 0; ac < WLAN_MAX_AC; ac++) { @@ -2261,7 +2261,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) || + if ((!adapter->hdd_wmm_status.qos_connection) || (!adapter->hdd_wmm_status.qap)) { return false; } else {