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;