Browse Source

qcacld-3.0: Rename HDD identifier macAddress

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

Change-Id: Idc9e4bf34a29859a66ff559fdbe4f2d1c18d6d98
CRs-Fixed: 2417583
Jeff Johnson 6 years ago
parent
commit
9423c5d57b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      core/hdd/src/wlan_hdd_hostapd_wext.c

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

@@ -2437,7 +2437,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
 	char *pLinkSpeed = (char *)extra;
 	uint32_t link_speed = 0;
 	int len = sizeof(uint32_t) + 1;
-	struct qdf_mac_addr macAddress;
+	struct qdf_mac_addr mac_address;
 	char macaddr_string[MAC_ADDRESS_STR_LEN + 1];
 	QDF_STATUS status = QDF_STATUS_E_FAILURE;
 	int rc, ret, i;
@@ -2471,7 +2471,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
 		}
 		macaddr_string[MAC_ADDRESS_STR_LEN - 1] = '\0';
 
-		if (!mac_pton(macaddr_string, macAddress.bytes)) {
+		if (!mac_pton(macaddr_string, mac_address.bytes)) {
 			hdd_err("String to Hex conversion Failed");
 			return -EINVAL;
 		}
@@ -2485,7 +2485,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
 			    (!qdf_is_macaddr_broadcast
 				  (&adapter->sta_info[i].sta_mac))) {
 				qdf_copy_macaddr(
-					&macAddress,
+					&mac_address,
 					&adapter->sta_info[i].
 					 sta_mac);
 				status = QDF_STATUS_SUCCESS;
@@ -2497,7 +2497,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
 		hdd_err("Invalid peer macaddress");
 		return -EINVAL;
 	}
-	rc = wlan_hdd_get_linkspeed_for_peermac(adapter, &macAddress,
+	rc = wlan_hdd_get_linkspeed_for_peermac(adapter, &mac_address,
 						&link_speed);
 	if (rc) {
 		hdd_err("Unable to retrieve SME linkspeed");