Merge "qca-wifi: Compilation fix for CFR macro enable"
diff --git a/target_if/cfr/src/target_if_cfr_8074v2.c b/target_if/cfr/src/target_if_cfr_8074v2.c
index 9d37fb0..528668e 100644
--- a/target_if/cfr/src/target_if_cfr_8074v2.c
+++ b/target_if/cfr/src/target_if_cfr_8074v2.c
@@ -45,7 +45,7 @@
dma_hdr->phy_ppdu_id);
}
-int cfr_dbr_event_handler(struct wlan_objmgr_pdev *pdev,
+bool cfr_dbr_event_handler(struct wlan_objmgr_pdev *pdev,
struct direct_buf_rx_data *payload)
{
uint8_t *data = payload->vaddr;
@@ -53,13 +53,13 @@
if ((!pdev) || (!payload)) {
cfr_err("%s Error!! pdev or payload is null\n", __func__);
- return -EINVAL;
+ return true;
}
qdf_mem_copy(&dma_hdr, &data[0], sizeof(struct whal_cfir_dma_hdr));
dump_dma_hdr(&dma_hdr);
- return 0;
+ return true;
}
#endif
@@ -142,8 +142,7 @@
dbr_tx_ops = &psoc->soc_cb.tx_ops.dbr_tx_ops;
if(dbr_tx_ops->direct_buf_rx_get_ring_params)
- dbr_tx_ops->direct_buf_rx_get_ring_params(pdev, param,
- DBR_MODULE_CFR)
+ dbr_tx_ops->direct_buf_rx_get_ring_params(pdev, param, 1);
return param;
}
#else