Jelajahi Sumber

qcacld-3.0: Rename HDD identifier STAMacAddress

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

Change-Id: I291905cd8202614c06dabcbb9ce7772a39cfdef5
CRs-Fixed: 2422201
Jeff Johnson 6 tahun lalu
induk
melakukan
f31df63d90
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      core/hdd/src/wlan_hdd_cfg80211.c

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

@@ -14389,7 +14389,7 @@ static int __wlan_hdd_change_station(struct wiphy *wiphy,
 	struct hdd_context *hdd_ctx;
 	struct hdd_station_ctx *sta_ctx;
 	struct hdd_ap_ctx *ap_ctx;
-	struct qdf_mac_addr STAMacAddress;
+	struct qdf_mac_addr sta_macaddr;
 	int ret;
 
 	hdd_enter();
@@ -14413,7 +14413,7 @@ static int __wlan_hdd_change_station(struct wiphy *wiphy,
 
 	sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
 
-	qdf_mem_copy(STAMacAddress.bytes, mac, QDF_MAC_ADDR_SIZE);
+	qdf_mem_copy(sta_macaddr.bytes, mac, QDF_MAC_ADDR_SIZE);
 
 	if ((adapter->device_mode == QDF_SAP_MODE) ||
 	    (adapter->device_mode == QDF_P2P_GO_MODE)) {
@@ -14432,7 +14432,7 @@ static int __wlan_hdd_change_station(struct wiphy *wiphy,
 
 			status =
 				hdd_softap_change_sta_state(adapter,
-							    &STAMacAddress,
+							    &sta_macaddr,
 							    OL_TXRX_PEER_STATE_AUTH);
 
 			if (status != QDF_STATUS_SUCCESS) {
@@ -14442,7 +14442,7 @@ static int __wlan_hdd_change_station(struct wiphy *wiphy,
 			status = wlan_hdd_send_sta_authorized_event(
 								adapter,
 								hdd_ctx,
-								&STAMacAddress);
+								&sta_macaddr);
 			if (status != QDF_STATUS_SUCCESS) {
 				return -EINVAL;
 			}