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
This commit is contained in:
Manjunathappa Prakash
2017-07-18 22:00:05 -07:00
committato da snandini
parent e501f2c62f
commit 5f050a8187

Vedi File

@@ -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