ソースを参照

qcacld-3.0: Rename HDD identifier pStaInfo

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

Change-Id: I35996f61c181b6a92db21666d52118b8be27fc30
CRs-Fixed: 2412186
Jeff Johnson 6 年 前
コミット
74c4bfb78d
1 ファイル変更4 行追加4 行削除
  1. 4 4
      core/hdd/src/wlan_hdd_hostapd_wext.c

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

@@ -1748,7 +1748,7 @@ static __iw_softap_getassoc_stamacaddr(struct net_device *dev,
 				       union iwreq_data *wrqu, char *extra)
 {
 	struct hdd_adapter *adapter = (netdev_priv(dev));
-	struct hdd_station_info *pStaInfo = adapter->sta_info;
+	struct hdd_station_info *sta_info = adapter->sta_info;
 	struct hdd_context *hdd_ctx;
 	char *buf;
 	int cnt = 0;
@@ -1800,9 +1800,9 @@ static __iw_softap_getassoc_stamacaddr(struct net_device *dev,
 
 	spin_lock_bh(&adapter->sta_info_lock);
 	while ((cnt < WLAN_MAX_STA_COUNT) && (left >= QDF_MAC_ADDR_SIZE)) {
-		if ((pStaInfo[cnt].in_use) &&
-		    (!qdf_is_macaddr_broadcast(&pStaInfo[cnt].sta_mac))) {
-			memcpy(&buf[maclist_index], &(pStaInfo[cnt].sta_mac),
+		if ((sta_info[cnt].in_use) &&
+		    (!qdf_is_macaddr_broadcast(&sta_info[cnt].sta_mac))) {
+			memcpy(&buf[maclist_index], &(sta_info[cnt].sta_mac),
 			       QDF_MAC_ADDR_SIZE);
 			maclist_index += QDF_MAC_ADDR_SIZE;
 			left -= QDF_MAC_ADDR_SIZE;