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
This commit is contained in:
Vignesh Viswanathan 2018-11-28 12:30:50 +05:30 • committed by nshrivas
commit 5a3c8bebec

View file

@ -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