diff options
| author | Ravi Joshi <ravij@qca.qualcomm.com> | 2016-02-19 11:28:46 -0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-03-09 18:09:22 +0530 |
| commit | 3f57f48d736993c92fd254fd90e10a03a311a68e (patch) | |
| tree | 8429eda0b389bc5a4d3eaa71e18dfae581daf147 | |
| parent | bba01616262c6e20bfcca94ec314779b9a8e10fd (diff) | |
qcacld-2.0: Refactor hdd_config structure
Refactoring of hdd_config structure enables forward referencing
of this structure without having to include a formal header file.
This method is more closer to linux coding style.
CRs-Fixed: 962367
Change-Id: Ide522af3253bd66e4491eaed7bcfe90199ec2e4f
| -rw-r--r-- | CORE/HDD/inc/wlan_hdd_cfg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h index 1a4e887cebd2..46b4d091e97e 100644 --- a/CORE/HDD/inc/wlan_hdd_cfg.h +++ b/CORE/HDD/inc/wlan_hdd_cfg.h @@ -3571,8 +3571,7 @@ enum dot11p_mode { Type declarations -------------------------------------------------------------------------*/ -typedef struct -{ +struct hdd_config { //Bitmap to track what is explicitly configured DECLARE_BITMAP(bExplicitCfg, MAX_CFG_INI_ITEMS); @@ -4285,7 +4284,9 @@ typedef struct bool ignore_peer_ht_opmode; bool mib_stats_enabled; bool enable_fatal_event; -} hdd_config_t; +}; + +typedef struct hdd_config hdd_config_t; #ifdef WLAN_FEATURE_MBSSID typedef struct mbssid_sap_dyn_ini_config { |
