Sfoglia il codice sorgente

qcacld-3.0: Rename HDD identifier pAcStatus

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pAcStatus to be
compliant.

Change-Id: I6829e197f903b9967cd011c77d5e8e9927e98c4b
CRs-Fixed: 2412974
Jeff Johnson 6 anni fa
parent
commit
d37476ee94
1 ha cambiato i file con 20 aggiunte e 20 eliminazioni
  1. 20 20
      core/hdd/src/wlan_hdd_wmm.c

+ 20 - 20
core/hdd/src/wlan_hdd_wmm.c

@@ -1504,7 +1504,7 @@ QDF_STATUS hdd_wmm_init(struct hdd_adapter *adapter)
  */
 QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter)
 {
-	struct hdd_wmm_ac_status *pAcStatus;
+	struct hdd_wmm_ac_status *ac_status;
 	sme_ac_enum_type ac_type;
 
 	hdd_enter();
@@ -1514,15 +1514,15 @@ QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter)
 	mutex_init(&adapter->hdd_wmm_status.wmmLock);
 
 	for (ac_type = 0; ac_type < WLAN_MAX_AC; ac_type++) {
-		pAcStatus = &adapter->hdd_wmm_status.wmmAcStatus[ac_type];
-		pAcStatus->wmmAcAccessRequired = false;
-		pAcStatus->wmmAcAccessNeeded = false;
-		pAcStatus->wmmAcAccessPending = false;
-		pAcStatus->wmmAcAccessFailed = false;
-		pAcStatus->wmmAcAccessGranted = false;
-		pAcStatus->wmmAcAccessAllowed = false;
-		pAcStatus->wmmAcTspecValid = false;
-		pAcStatus->wmmAcUapsdInfoValid = false;
+		ac_status = &adapter->hdd_wmm_status.wmmAcStatus[ac_type];
+		ac_status->wmmAcAccessRequired = false;
+		ac_status->wmmAcAccessNeeded = false;
+		ac_status->wmmAcAccessPending = false;
+		ac_status->wmmAcAccessFailed = false;
+		ac_status->wmmAcAccessGranted = false;
+		ac_status->wmmAcAccessAllowed = false;
+		ac_status->wmmAcTspecValid = false;
+		ac_status->wmmAcUapsdInfoValid = false;
 	}
 	/* Invalid value(0xff) to indicate psb not configured through
 	 * framework initially.
@@ -1542,20 +1542,20 @@ QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter)
  */
 QDF_STATUS hdd_wmm_adapter_clear(struct hdd_adapter *adapter)
 {
-	struct hdd_wmm_ac_status *pAcStatus;
+	struct hdd_wmm_ac_status *ac_status;
 	sme_ac_enum_type ac_type;
 
 	hdd_enter();
 	for (ac_type = 0; ac_type < WLAN_MAX_AC; ac_type++) {
-		pAcStatus = &adapter->hdd_wmm_status.wmmAcStatus[ac_type];
-		pAcStatus->wmmAcAccessRequired = false;
-		pAcStatus->wmmAcAccessNeeded = false;
-		pAcStatus->wmmAcAccessPending = false;
-		pAcStatus->wmmAcAccessFailed = false;
-		pAcStatus->wmmAcAccessGranted = false;
-		pAcStatus->wmmAcAccessAllowed = false;
-		pAcStatus->wmmAcTspecValid = false;
-		pAcStatus->wmmAcUapsdInfoValid = false;
+		ac_status = &adapter->hdd_wmm_status.wmmAcStatus[ac_type];
+		ac_status->wmmAcAccessRequired = false;
+		ac_status->wmmAcAccessNeeded = false;
+		ac_status->wmmAcAccessPending = false;
+		ac_status->wmmAcAccessFailed = false;
+		ac_status->wmmAcAccessGranted = false;
+		ac_status->wmmAcAccessAllowed = false;
+		ac_status->wmmAcTspecValid = false;
+		ac_status->wmmAcUapsdInfoValid = false;
 	}
 	return QDF_STATUS_SUCCESS;
 }