From 5f050a8187d688284ede91b41e3fe0cd2baafbb9 Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Tue, 18 Jul 2017 22:00:05 -0700 Subject: [PATCH] qcacmn: Include cdp_txrx_flow_ctrl_v2.h only if V2 flow control enabled Fix compilation error failing for V2 flow control data structures. Change-Id: I6cca1f7183b483f5e2403d95cd6ec77a959e47a0 CRs-Fixed: 2078435 --- dp/wifi3.0/dp_main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index b22596116252..4d921ca219e1 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -39,7 +39,15 @@ #include "dp_rx_mon.h" #include "htt_stats.h" #include "qdf_mem.h" /* qdf_mem_malloc,free */ +#ifdef QCA_LL_TX_FLOW_CONTROL_V2 #include "cdp_txrx_flow_ctrl_v2.h" +#else +static inline void +cdp_dump_flow_pool_info(struct cdp_soc_t *soc) +{ + return; +} +#endif #define DP_INTR_POLL_TIMER_MS 10 #define DP_WDS_AGING_TIMER_DEFAULT_MS 6000