qcacld-3.0: Only call hdd_debugfs_process_mib_stats if debugfs is enabled
Change-Id: I081bf59ec6ef593eedd5044aaa2e13a6a1a0f87d Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
parent
171312b2c1
commit
2862ba8ad7
@ -8734,7 +8734,9 @@ QDF_STATUS wlan_hdd_get_mib_stats(struct hdd_adapter *adapter)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef WLAN_DEBUGFS
|
||||
hdd_debugfs_process_mib_stats(adapter, stats);
|
||||
#endif
|
||||
|
||||
wlan_cfg80211_mc_cp_stats_free_stats_event(stats);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user