From 0dc4211730f5779df618b031bc398643d75e440b Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 26 Mar 2019 15:28:23 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_stats.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 43b0a3a449..e8154dc57e 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -416,8 +416,8 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat, u32 num_peers, struct sk_buff *vendor_event) { int i = 0; - struct nlattr *wmmInfo; - struct nlattr *wmmStats; + struct nlattr *wmm_info; + struct nlattr *wmm_stats; u64 average_tsf_offset; wmi_iface_link_stats *link_stats = &pWifiIfaceStat->link_stats; @@ -487,14 +487,14 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat, return false; } - wmmInfo = nla_nest_start(vendor_event, - QCA_WLAN_VENDOR_ATTR_LL_STATS_WMM_INFO); - if (!wmmInfo) + wmm_info = nla_nest_start(vendor_event, + QCA_WLAN_VENDOR_ATTR_LL_STATS_WMM_INFO); + if (!wmm_info) return false; for (i = 0; i < WIFI_AC_MAX; i++) { - wmmStats = nla_nest_start(vendor_event, i); - if (!wmmStats) + wmm_stats = nla_nest_start(vendor_event, i); + if (!wmm_stats) return false; if (false == @@ -504,9 +504,9 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat pWifiIfaceStat, 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; }