mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
qcacld-3.0: Only call hdd_debugfs_process_mib_stats if debugfs is enabled
Change-Id: I081bf59ec6ef593eedd5044aaa2e13a6a1a0f87d
This commit is contained in:
parent
6655e39de6
commit
2c1d7dedf4
1 changed files with 2 additions and 0 deletions
|
|
@ -6190,7 +6190,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 a new issue