mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 17:24:14 -04:00
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:
parent
8439667256
commit
35a70254ac
1 changed files with 5 additions and 5 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Reference in a new issue