diff options
| author | Rajeev Kumar <rajekuma@qca.qualcomm.com> | 2014-04-28 19:48:31 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-05-01 09:07:08 -0700 |
| commit | 401cf682e50128fbd369b116dca779d2680cec4c (patch) | |
| tree | 03bbe0484ac7ef3ae666b5f067d339b1e6d309dc | |
| parent | abab7761c39dfffedc507f5a6b18895e35314880 (diff) | |
qcacld: Add a build flag to enable/disable FW log
Add a build flag to enable/disable FW logging through
CFG INI
Change-Id: I5008abfa11afb0aa2a3de0b9f546c182657f6a9d
CRs-fixed: 655931
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index eeea9bf786eb..ac0b68fd1d9f 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -8418,6 +8418,8 @@ hdd_adapter_t* hdd_open_adapter( hdd_context_t *pHddCtx, tANI_U8 session_type, #endif +#ifdef CONFIG_FW_LOGS_BASED_ON_INI + /* Enable FW logs based on INI configuration */ if ((VOS_FTM_MODE != vos_get_conparam()) && (pHddCtx->cfg_ini->enableFwLogType)) @@ -8478,6 +8480,8 @@ hdd_adapter_t* hdd_open_adapter( hdd_context_t *pHddCtx, tANI_U8 session_type, } } +#endif + return pAdapter; |
