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
This commit is contained in:
Dustin Brown
2017-08-15 13:34:24 -07:00
committed by snandini
parent 842e33e84e
commit ce46d1d24f

View File

@@ -84,8 +84,8 @@
#include "wlan_hdd_tdls.h" #include "wlan_hdd_tdls.h"
#ifdef FEATURE_WLAN_CH_AVOID #ifdef FEATURE_WLAN_CH_AVOID
#include "cds_regdomain.h" #include "cds_regdomain.h"
#include "cdp_txrx_flow_ctrl_v2.h"
#endif /* FEATURE_WLAN_CH_AVOID */ #endif /* FEATURE_WLAN_CH_AVOID */
#include "cdp_txrx_flow_ctrl_v2.h"
#include "pld_common.h" #include "pld_common.h"
#include "wlan_hdd_ocb.h" #include "wlan_hdd_ocb.h"
#include "wlan_hdd_nan.h" #include "wlan_hdd_nan.h"