Skip to content

Commit

Permalink
qcacld-3.0: Properly guard hdd_debugfs_process_mib_stats
Browse files Browse the repository at this point in the history
This corrects the following compilation error:

../drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_stats.c:5605:2: error: implicit declaration of function 'hdd_debugfs_process_mib_stats' [-Werror,-Wimplicit-function-declaration]
        hdd_debugfs_process_mib_stats(adapter, stats);
        ^

Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
  • Loading branch information
0ctobot authored and acuicultor committed Feb 12, 2021
1 parent 8ccb009 commit 7c63e12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_stats.c
Expand Up @@ -5558,7 +5558,9 @@ QDF_STATUS wlan_hdd_get_mib_stats(struct hdd_adapter *adapter)
return ret;
}

#if defined(WLAN_FEATURE_MIB_STATS) && defined(WLAN_DEBUGFS)
hdd_debugfs_process_mib_stats(adapter, stats);
#endif

wlan_cfg80211_mc_cp_stats_free_stats_event(stats);
return ret;
Expand Down

0 comments on commit 7c63e12

Please sign in to comment.