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
This commit is contained in:
Jeff Johnson 2019-03-08 23:24:29 -08:00 • committed by nshrivas
commit 26ef71e02a
2 changed files with 5 additions and 5 deletions

View file

@ -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;
};

View file

@ -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;