qcacld-3.0: Do not unmap mgmt_tx nbuf for HL
Do not unmap mgmt_tx nbuf for HL as the mgmt_tx nbuf is not mapped
in case of HL.
Change-Id: I1e7bf3af09dea357075d897974d3a59e0b439ae4
CRs-Fixed: 2349234
diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h
index 6045c5b..732d8c8 100644
--- a/core/wma/inc/wma.h
+++ b/core/wma/inc/wma.h
@@ -2019,8 +2019,14 @@
*
* Return: None
*/
+#ifndef CONFIG_HL_SUPPORT
void wma_mgmt_nbuf_unmap_cb(struct wlan_objmgr_pdev *pdev,
qdf_nbuf_t buf);
+#else
+static inline void wma_mgmt_nbuf_unmap_cb(struct wlan_objmgr_pdev *pdev,
+ qdf_nbuf_t buf)
+{}
+#endif
/**
* wma_chan_info_event_handler() - chan info event handler