Explorar el Código

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
Manjunathappa Prakash hace 7 años
padre
commit
5f050a8187
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      dp/wifi3.0/dp_main.c

+ 8 - 0
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