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
This commit is contained in:
Jeff Johnson
2019-03-26 15:40:40 -07:00
committed by nshrivas
parent 8439667256
commit 35a70254ac

View File

@@ -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); struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
tpSirWifiPeerStat pWifiPeerStat; tpSirWifiPeerStat pWifiPeerStat;
tpSirWifiPeerInfo pWifiPeerInfo; tpSirWifiPeerInfo peer_info;
struct sk_buff *vendor_event; struct sk_buff *vendor_event;
int status, i; int status, i;
struct nlattr *peers; struct nlattr *peers;
@@ -660,7 +660,7 @@ static void hdd_link_layer_process_peer_stats(struct hdd_adapter *adapter,
return; return;
} }
pWifiPeerInfo = (tpSirWifiPeerInfo) ((uint8_t *) peer_info = (tpSirWifiPeerInfo) ((uint8_t *)
pWifiPeerStat->peerInfo); pWifiPeerStat->peerInfo);
if (pWifiPeerStat->numPeers) { if (pWifiPeerStat->numPeers) {
@@ -682,15 +682,15 @@ static void hdd_link_layer_process_peer_stats(struct hdd_adapter *adapter,
return; 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"); hdd_err("put_wifi_peer_info fail");
kfree_skb(vendor_event); kfree_skb(vendor_event);
return; return;
} }
pWifiPeerInfo = (tpSirWifiPeerInfo) ((uint8_t *) peer_info = (tpSirWifiPeerInfo) ((uint8_t *)
pWifiPeerStat-> pWifiPeerStat->
peerInfo + peerInfo +
(i * (i *