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
Esse commit está contido em:
@@ -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 *
|
||||
|
Referência em uma nova issue
Block a user