From f8cadecb9e5ac1ed2c12732639b13358c8415355 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 24 Oct 2017 10:21:25 -0700 Subject: [PATCH] qcacld-3.0: Rename hdd_stats ClassD_stat field Per the Linux coding style "mixed-case names are frowned upon" so rename field ClassD_stat in struct hdd_stats. Change-Id: Iffd826b5d179e824a2f5bdaeca1ecfd4fe4ba02a CRs-Fixed: 2131838 --- core/hdd/inc/wlan_hdd_main.h | 4 ++-- core/hdd/src/wlan_hdd_wext.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 611bc3b05efc..d4e3e76edcb6 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -488,7 +488,7 @@ struct hdd_arp_stats_s { * struct hdd_stats - per-adapter statistics * @summary_stat: Summary stats reported by firmware * @class_a_stat: "Class A" stats reported by firmware - * @ClassD_stat: "Class D" stats reported by firmware + * @class_d_stat: "Class D" stats reported by firmware * @per_chain_rssi_stats: Per-chain RSSI stats * @tx_rx_stats: Tx & Rx stats * @hdd_pmf_stats: Protected Management Frame stats @@ -496,7 +496,7 @@ struct hdd_arp_stats_s { struct hdd_stats { tCsrSummaryStatsInfo summary_stat; tCsrGlobalClassAStatsInfo class_a_stat; - tCsrGlobalClassDStatsInfo ClassD_stat; + tCsrGlobalClassDStatsInfo class_d_stat; struct csr_per_chain_rssi_stats_info per_chain_rssi_stats; struct hdd_tx_rx_stats tx_rx_stats; struct hdd_arp_stats_s hdd_arp_stats; diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 2551e5216285..f2e153dc7972 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -4123,8 +4123,8 @@ static void hdd_statistics_cb(void *pStats, void *pContext) sizeof(pStatsCache->summary_stat)); qdf_mem_copy(&pStatsCache->class_a_stat, pClassAStats, sizeof(pStatsCache->class_a_stat)); - qdf_mem_copy(&pStatsCache->ClassD_stat, pClassDStats, - sizeof(pStatsCache->ClassD_stat)); + qdf_mem_copy(&pStatsCache->class_d_stat, pClassDStats, + sizeof(pStatsCache->class_d_stat)); } if (adapter) { @@ -9895,7 +9895,7 @@ static int __iw_get_statistics(struct net_device *dev, int tlen = 0; tCsrSummaryStatsInfo *pStats = &(adapter->hdd_stats.summary_stat); tCsrGlobalClassAStatsInfo *aStats = &(adapter->hdd_stats.class_a_stat); - tCsrGlobalClassDStatsInfo *dStats = &(adapter->hdd_stats.ClassD_stat); + tCsrGlobalClassDStatsInfo *dStats = &(adapter->hdd_stats.class_d_stat); int ret; ENTER_DEV(dev);