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
diff --git a/core/hdd/inc/hdd_config.h b/core/hdd/inc/hdd_config.h
index 22d16ec..f2bee7e 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