qcacld-3.0: Rename HDD identifiers wmmInfo & wmmStats
The Linux Coding Style frowns upon mixed-case names so rename HDD identifiers wmmInfo & wmmStats to be compliant. Change-Id: Ie285a7d71aaa7df1d4de02067f84bc2f3df2e874 CRs-Fixed: 2424500
This commit is contained in:
@@ -416,8 +416,8 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat,
|
|||||||
u32 num_peers, struct sk_buff *vendor_event)
|
u32 num_peers, struct sk_buff *vendor_event)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
struct nlattr *wmmInfo;
|
struct nlattr *wmm_info;
|
||||||
struct nlattr *wmmStats;
|
struct nlattr *wmm_stats;
|
||||||
u64 average_tsf_offset;
|
u64 average_tsf_offset;
|
||||||
wmi_iface_link_stats *link_stats = &pWifiIfaceStat->link_stats;
|
wmi_iface_link_stats *link_stats = &pWifiIfaceStat->link_stats;
|
||||||
|
|
||||||
@@ -487,14 +487,14 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
wmmInfo = nla_nest_start(vendor_event,
|
wmm_info = nla_nest_start(vendor_event,
|
||||||
QCA_WLAN_VENDOR_ATTR_LL_STATS_WMM_INFO);
|
QCA_WLAN_VENDOR_ATTR_LL_STATS_WMM_INFO);
|
||||||
if (!wmmInfo)
|
if (!wmm_info)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (i = 0; i < WIFI_AC_MAX; i++) {
|
for (i = 0; i < WIFI_AC_MAX; i++) {
|
||||||
wmmStats = nla_nest_start(vendor_event, i);
|
wmm_stats = nla_nest_start(vendor_event, i);
|
||||||
if (!wmmStats)
|
if (!wmm_stats)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (false ==
|
if (false ==
|
||||||
@@ -504,9 +504,9 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
nla_nest_end(vendor_event, wmmStats);
|
nla_nest_end(vendor_event, wmm_stats);
|
||||||
}
|
}
|
||||||
nla_nest_end(vendor_event, wmmInfo);
|
nla_nest_end(vendor_event, wmm_info);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user