summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Brown <dustinb@codeaurora.org>2017-08-15 13:34:24 -0700
committersnandini <snandini@codeaurora.org>2017-08-29 16:06:45 -0700
commit8f3ba1afacfbfe4130e4455e2100a0ee810a85cf (patch)
tree01f85773a2cc748f5ba73f7de82dfe1b6fa41d3b
parentd41e3df3639906d83213ae9706e01d72eb60c89d (diff)
qcacld-3.0: Fix implicit declaration of function ‘cdp_register_pause_cb’
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
-rw-r--r--core/hdd/src/wlan_hdd_main.c2
1 files changed, 1 insertions, 1 deletions
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"