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
This commit is contained in:
Jeff Johnson 2017-10-24 10:21:25 -07:00 • committed by snandini
commit f8cadecb9e
2 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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);