From 15596cf5c194a6104f46937cf4c366afacd877e5 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Fri, 12 Feb 2016 11:57:02 -0800 Subject: [PATCH] qcacld-3.0: Fix compilation issues with ocb functions OCB header files shouldn't be under FEATURE_WLAN_CH_AVOID. During cld2.0 to cld3.0 propagation ocb header file inclusion mistakenly got inside above featurization. Relocate it outside the FEATURE_WLAN_CH_AVOID conditional. Change-Id: Ib1cbc179dc0f5b769e18a4d7d8268081a25ede3f CRs-Fixed: 975731 --- core/hdd/src/wlan_hdd_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 73c75f5f8398..b93e65cfe2c6 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -88,11 +88,9 @@ #include #endif #include "cds_regdomain.h" - -#include "wlan_hdd_ocb.h" #include "cdp_txrx_flow_ctrl_v2.h" #endif /* FEATURE_WLAN_CH_AVOID */ - +#include "wlan_hdd_ocb.h" #include "wlan_hdd_nan.h" #include "wlan_hdd_debugfs.h" #include "wlan_hdd_driver_ops.h"