From 35a70254acc16632ec299627e4cfa97abec56d65 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 26 Mar 2019 15:40:40 -0700 Subject: [PATCH] qcacld-3.0: Rename HDD identifier pWifiPeerInfo The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD identifier pWifiPeerInfo to be compliant. Change-Id: Ib0652a6b2f20fdd3c4ced29689b5428be4d4ac0d CRs-Fixed: 2424502 --- core/hdd/src/wlan_hdd_stats.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 970fb2cb28a7..567a09165609 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -612,7 +612,7 @@ static void hdd_link_layer_process_peer_stats(struct hdd_adapter *adapter, { struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); tpSirWifiPeerStat pWifiPeerStat; - tpSirWifiPeerInfo pWifiPeerInfo; + tpSirWifiPeerInfo peer_info; struct sk_buff *vendor_event; int status, i; struct nlattr *peers; @@ -660,7 +660,7 @@ static void hdd_link_layer_process_peer_stats(struct hdd_adapter *adapter, return; } - pWifiPeerInfo = (tpSirWifiPeerInfo) ((uint8_t *) + peer_info = (tpSirWifiPeerInfo) ((uint8_t *) pWifiPeerStat->peerInfo); if (pWifiPeerStat->numPeers) { @@ -682,15 +682,15 @@ static void hdd_link_layer_process_peer_stats(struct hdd_adapter *adapter, return; } - numRate = pWifiPeerInfo->numRate; + numRate = peer_info->numRate; - if (!put_wifi_peer_info(pWifiPeerInfo, vendor_event)) { + if (!put_wifi_peer_info(peer_info, vendor_event)) { hdd_err("put_wifi_peer_info fail"); kfree_skb(vendor_event); return; } - pWifiPeerInfo = (tpSirWifiPeerInfo) ((uint8_t *) + peer_info = (tpSirWifiPeerInfo) ((uint8_t *) pWifiPeerStat-> peerInfo + (i *