Browse Source

qcacld-3.0: Rename HDD identifier customMacAddr

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier customMacAddr to be compliant.

Change-Id: I374e45b5b2a0feb570e071ca54f13a97638628ae
CRs-Fixed: 2417581
Jeff Johnson 6 years ago
parent
commit
374c0852b1
2 changed files with 8 additions and 8 deletions
  1. 4 4
      core/hdd/src/wlan_hdd_cfg.c
  2. 4 4
      core/hdd/src/wlan_hdd_main.c

+ 4 - 4
core/hdd/src/wlan_hdd_cfg.c

@@ -602,7 +602,7 @@ QDF_STATUS hdd_update_mac_config(struct hdd_context *hdd_ctx)
 	char *name, *value;
 	int max_mac_addr = QDF_MAX_CONCURRENCY_PERSONA;
 	struct hdd_cfg_entry macTable[QDF_MAX_CONCURRENCY_PERSONA];
-	tSirMacAddr customMacAddr;
+	tSirMacAddr custom_mac_addr;
 
 	QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
 
@@ -690,15 +690,15 @@ QDF_STATUS hdd_update_mac_config(struct hdd_context *hdd_ctx)
 	hdd_populate_random_mac_addr(hdd_ctx, max_mac_addr - i);
 
 	if (hdd_ctx->num_provisioned_addr)
-		qdf_mem_copy(&customMacAddr,
+		qdf_mem_copy(&custom_mac_addr,
 			     &hdd_ctx->provisioned_mac_addr[0].bytes[0],
 			     sizeof(tSirMacAddr));
 	else
-		qdf_mem_copy(&customMacAddr,
+		qdf_mem_copy(&custom_mac_addr,
 			     &hdd_ctx->derived_mac_addr[0].bytes[0],
 			     sizeof(tSirMacAddr));
 
-	sme_set_custom_mac_addr(customMacAddr);
+	sme_set_custom_mac_addr(custom_mac_addr);
 
 config_exit:
 	qdf_mem_free(temp);

+ 4 - 4
core/hdd/src/wlan_hdd_main.c

@@ -10294,18 +10294,18 @@ static int hdd_platform_wlan_mac(struct hdd_context *hdd_ctx)
  */
 static int hdd_update_mac_addr_to_fw(struct hdd_context *hdd_ctx)
 {
-	tSirMacAddr customMacAddr;
+	tSirMacAddr custom_mac_addr;
 	QDF_STATUS status;
 
 	if (hdd_ctx->num_provisioned_addr)
-		qdf_mem_copy(&customMacAddr,
+		qdf_mem_copy(&custom_mac_addr,
 			     &hdd_ctx->provisioned_mac_addr[0].bytes[0],
 			     sizeof(tSirMacAddr));
 	else
-		qdf_mem_copy(&customMacAddr,
+		qdf_mem_copy(&custom_mac_addr,
 			     &hdd_ctx->derived_mac_addr[0].bytes[0],
 			     sizeof(tSirMacAddr));
-	status = sme_set_custom_mac_addr(customMacAddr);
+	status = sme_set_custom_mac_addr(custom_mac_addr);
 	if (!QDF_IS_STATUS_SUCCESS(status))
 		return -EAGAIN;
 	return 0;