From 5a3c8bebec8a40c1020c37a5f1cc2a23d54fb848 Mon Sep 17 00:00:00 2001 From: Vignesh Viswanathan Date: Wed, 28 Nov 2018 12:30:50 +0530 Subject: [PATCH] qcacld-3.0: Include "wlan_tgt_def_config_hl.h" under CONFIG_HL_SUPPORT In hdd_config.h file, wlan_tgt_def_config_hl.h is included without checking for the flag CONFIG_HL_SUPPORT which could lead to compilation issues if CONFIG_HL_SUPPORT is not defined for a PL. Include wlan_tgt_def_config_hl.h under the correct CONFIG_HL_SUPPORT flag. Change-Id: Ia01b79e47b9ea504a93c96575599068218ef8671 CRs-Fixed: 2357292 --- core/hdd/inc/hdd_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/inc/hdd_config.h b/core/hdd/inc/hdd_config.h index 22d16ec96948..f2bee7e84d42 100644 --- a/core/hdd/inc/hdd_config.h +++ b/core/hdd/inc/hdd_config.h @@ -23,7 +23,11 @@ #ifndef __HDD_CONFIG_H #define __HDD_CONFIG_H +#if defined(CONFIG_HL_SUPPORT) #include "wlan_tgt_def_config_hl.h" +#else +#include "wlan_tgt_def_config.h" +#endif /** * enum hdd_wext_control - knob for wireless extensions