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
This commit is contained in:
Jeff Johnson 2019-03-07 21:34:51 -08:00 committed by nshrivas
parent aa8b13d84d
commit 74c4bfb78d

View File

@ -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;