From ce46d1d24fac199d37699f20e7de3ddd0ff966d4 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Tue, 15 Aug 2017 13:34:24 -0700 Subject: [PATCH] =?UTF-8?q?qcacld-3.0:=20Fix=20implicit=20declaration=20of?= =?UTF-8?q?=20function=20=E2=80=98cdp=5Fregister=5Fpause=5Fcb=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header where cdp_register_pause_cb is defined was mistakenly included under a FEATURE_WLAN_CH_AVOID feature guard. This caused compilation issues when FEATURE_WLAN_CH_AVOID was not defined. Move the include out of the feature guard. Change-Id: I340cbf888efc74f3761c0ea0fb53ea6d619f9306 CRs-Fixed: 2093249 --- core/hdd/src/wlan_hdd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 086ca4c1bd..4e04dee246 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -84,8 +84,8 @@ #include "wlan_hdd_tdls.h" #ifdef FEATURE_WLAN_CH_AVOID #include "cds_regdomain.h" -#include "cdp_txrx_flow_ctrl_v2.h" #endif /* FEATURE_WLAN_CH_AVOID */ +#include "cdp_txrx_flow_ctrl_v2.h" #include "pld_common.h" #include "wlan_hdd_ocb.h" #include "wlan_hdd_nan.h"