From a9f092a1eb695155c5b8050397b2c7700251e989 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 8 Mar 2019 19:17:23 -0800 Subject: [PATCH] qcacld-3.0: Rename HDD identifier pGranted The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD identifier pGranted to be compliant. Change-Id: Iccc58b730e381928b510a35c4d40addd1960201d CRs-Fixed: 2412968 --- core/hdd/inc/wlan_hdd_wmm.h | 4 ++-- core/hdd/src/wlan_hdd_wmm.c | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_wmm.h b/core/hdd/inc/wlan_hdd_wmm.h index 14cf5b29f8..9a647ca75a 100644 --- a/core/hdd/inc/wlan_hdd_wmm.h +++ b/core/hdd/inc/wlan_hdd_wmm.h @@ -284,13 +284,13 @@ void hdd_wmm_acquire_access_required(struct hdd_adapter *adapter, * * @adapter: [in] pointer to adapter context * @acType: [in] WMM AC type of OS packet - * @pGranted: [out] pointer to bool flag when indicates if access + * @granted: [out] pointer to bool flag when indicates if access * has been granted or not * * Return: QDF_STATUS enumeration */ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, - sme_ac_enum_type acType, bool *pGranted); + sme_ac_enum_type acType, bool *granted); /** * hdd_wmm_assoc() - Function which will handle the housekeeping diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index 1174ccaec6..57bdd57625 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -1880,13 +1880,13 @@ void hdd_wmm_acquire_access_required(struct hdd_adapter *adapter, * * @adapter: [in] pointer to adapter context * @acType: [in] WMM AC type of OS packet - * @pGranted: [out] pointer to bool flag when indicates if access + * @granted: [out] pointer to bool flag when indicates if access * has been granted or not * * Return: QDF_STATUS enumeration */ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, - sme_ac_enum_type acType, bool *pGranted) + sme_ac_enum_type acType, bool *granted) { struct hdd_wmm_qos_context *qos_context; struct hdd_context *hdd_ctx; @@ -1910,7 +1910,7 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_DEBUG, "%s: QoS not configured on both ends ", __func__); - *pGranted = + *granted = adapter->hdd_wmm_status.wmmAcStatus[acType]. wmmAcAccessAllowed; @@ -1926,7 +1926,7 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, "%s: Implicit QoS for TL AC %d already scheduled", __func__, acType); - *pGranted = false; + *granted = false; return QDF_STATUS_SUCCESS; } /* did we already fail to establish implicit QoS for this AC? @@ -1945,11 +1945,11 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, wmmAcAccessRequired) { adapter->hdd_wmm_status.wmmAcStatus[acType]. wmmAcAccessAllowed = true; - *pGranted = true; + *granted = true; } else { adapter->hdd_wmm_status.wmmAcStatus[acType]. wmmAcAccessAllowed = false; - *pGranted = false; + *granted = false; } return QDF_STATUS_SUCCESS; @@ -1970,7 +1970,7 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, "%s: Unable to allocate context", __func__); adapter->hdd_wmm_status.wmmAcStatus[acType].wmmAcAccessAllowed = true; - *pGranted = true; + *granted = true; return QDF_STATUS_SUCCESS; } @@ -1992,7 +1992,7 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter, /* caller will need to wait until the work takes place and * TSPEC negotiation completes */ - *pGranted = false; + *granted = false; return QDF_STATUS_SUCCESS; }