From 74c4bfb78daab83a83a872d994d640502b5302b0 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 7 Mar 2019 21:34:51 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd_wext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd_wext.c b/core/hdd/src/wlan_hdd_hostapd_wext.c index 02a4e92aff2fe..1ecce8cdc4f33 100644 --- a/core/hdd/src/wlan_hdd_hostapd_wext.c +++ b/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;