From 8f3ba1afacfbfe4130e4455e2100a0ee810a85cf Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Tue, 15 Aug 2017 13:34:24 -0700 Subject: =?UTF-8?q?qcacld-3.0:=20Fix=20implicit=20declaration=20of=20funct?= =?UTF-8?q?ion=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 dc63b8cd42b1..1e15a56240c5 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -82,8 +82,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" -- cgit v1.2.3