Browse Source

qcacld-3.0: Rename HDD variable eBssType

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

Change-Id: Ifb59945fbde736d3aea0cc00034950337c3e5f17
CRs-Fixed: 2409076
Jeff Johnson 6 years ago
parent
commit
fdb993cdb7
3 changed files with 14 additions and 14 deletions
  1. 4 4
      core/hdd/inc/wlan_hdd_wmm.h
  2. 5 5
      core/hdd/src/wlan_hdd_assoc.c
  3. 5 5
      core/hdd/src/wlan_hdd_wmm.c

+ 4 - 4
core/hdd/inc/wlan_hdd_wmm.h

@@ -298,13 +298,13 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
  *
  * @adapter: [in]  pointer to adapter context
  * @roam_info: [in]  pointer to roam information
- * @eBssType: [in]  type of BSS
+ * @bss_type: [in]  type of BSS
  *
  * Return: QDF_STATUS enumeration
  */
 QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
 			 struct csr_roam_info *roam_info,
-			 eCsrRoamBssType eBssType);
+			 eCsrRoamBssType bss_type);
 
 /**
  * hdd_wmm_connect() - Function which will handle the housekeeping
@@ -312,13 +312,13 @@ QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
  *
  * @adapter : [in]  pointer to adapter context
  * @roam_info: [in]  pointer to roam information
- * @eBssType : [in]  type of BSS
+ * @bss_type : [in]  type of BSS
  *
  * Return: QDF_STATUS enumeration
  */
 QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
 			   struct csr_roam_info *roam_info,
-			   eCsrRoamBssType eBssType);
+			   eCsrRoamBssType bss_type);
 
 /**
  * hdd_wmm_is_active() - Function which will determine if WMM is

+ 5 - 5
core/hdd/src/wlan_hdd_assoc.c

@@ -953,14 +953,14 @@ static void hdd_save_bss_info(struct hdd_adapter *adapter,
  * hdd_conn_save_connect_info() - save current connection information
  * @adapter: pointer to adapter
  * @roam_info: pointer to roam info
- * @eBssType: bss type
+ * @bss_type: bss type
  *
  * Return: none
  */
 static void
 hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 			   struct csr_roam_info *roam_info,
-			   eCsrRoamBssType eBssType)
+			   eCsrRoamBssType bss_type)
 {
 	struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
 	eCsrEncryptionType encryptType = eCSR_ENCRYPT_TYPE_NONE;
@@ -969,7 +969,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 
 	if (roam_info) {
 		/* Save the BSSID for the connection */
-		if (eCSR_BSS_TYPE_INFRASTRUCTURE == eBssType) {
+		if (eCSR_BSS_TYPE_INFRASTRUCTURE == bss_type) {
 			QDF_ASSERT(roam_info->pBssDesc);
 			qdf_copy_macaddr(&sta_ctx->conn_info.bssId,
 					 &roam_info->bssid);
@@ -985,7 +985,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 				sta_ctx->conn_info.staId[0] =
 					roam_info->staId;
 			}
-		} else if (eCSR_BSS_TYPE_IBSS == eBssType) {
+		} else if (eCSR_BSS_TYPE_IBSS == bss_type) {
 			qdf_copy_macaddr(&sta_ctx->conn_info.bssId,
 					 &roam_info->bssid);
 		} else {
@@ -997,7 +997,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 		}
 
 		/* notify WMM */
-		hdd_wmm_connect(adapter, roam_info, eBssType);
+		hdd_wmm_connect(adapter, roam_info, bss_type);
 
 		if (!roam_info->u.pConnectedProfile) {
 			QDF_ASSERT(roam_info->u.pConnectedProfile);

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

@@ -1996,13 +1996,13 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
  *
  * @adapter: [in]  pointer to adapter context
  * @roam_info: [in]  pointer to roam information
- * @eBssType: [in]  type of BSS
+ * @bss_type: [in]  type of BSS
  *
  * Return: QDF_STATUS enumeration
  */
 QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
 			 struct csr_roam_info *roam_info,
-			 eCsrRoamBssType eBssType)
+			 eCsrRoamBssType bss_type)
 {
 	uint8_t uapsdMask;
 	QDF_STATUS status;
@@ -2165,13 +2165,13 @@ static const uint8_t acm_mask_bit[WLAN_MAX_AC] = {
  *
  * @adapter : [in]  pointer to adapter context
  * @roam_info: [in]  pointer to roam information
- * @eBssType : [in]  type of BSS
+ * @bss_type : [in]  type of BSS
  *
  * Return: QDF_STATUS enumeration
  */
 QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
 			   struct csr_roam_info *roam_info,
-			   eCsrRoamBssType eBssType)
+			   eCsrRoamBssType bss_type)
 {
 	int ac;
 	bool qap;
@@ -2181,7 +2181,7 @@ QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
 
 	hdd_enter();
 
-	if ((eCSR_BSS_TYPE_INFRASTRUCTURE == eBssType) &&
+	if ((eCSR_BSS_TYPE_INFRASTRUCTURE == bss_type) &&
 	    roam_info && roam_info->u.pConnectedProfile) {
 		qap = roam_info->u.pConnectedProfile->qap;
 		qosConnection = roam_info->u.pConnectedProfile->qosConnection;