diff --git a/cfr/src/target_if_cfr_8074v2.c b/cfr/src/target_if_cfr_8074v2.c index bfc7308ce6..9d37fb05d4 100644 --- a/cfr/src/target_if_cfr_8074v2.c +++ b/cfr/src/target_if_cfr_8074v2.c @@ -94,7 +94,7 @@ target_if_register_to_dbr(struct wlan_objmgr_pdev *pdev) dbr_tx_ops = &psoc->soc_cb.tx_ops.dbr_tx_ops; if (dbr_tx_ops->direct_buf_rx_module_register) { return dbr_tx_ops->direct_buf_rx_module_register - (pdev, DBR_MODULE_CFR, + (pdev, 1, cfr_dbr_event_handler); } @@ -126,7 +126,7 @@ int cfr_8074v2_deinit_pdev( { int status; - status = target_if_unregister_tx_complection_event_handler(pdev); + status = target_if_unregister_tx_completion_event_handler(psoc); return status; } diff --git a/cfr/src/target_if_cfr_wifi2_0.c b/cfr/src/target_if_cfr_wifi2_0.c index e544f73b03..8c22e83844 100644 --- a/cfr/src/target_if_cfr_wifi2_0.c +++ b/cfr/src/target_if_cfr_wifi2_0.c @@ -302,8 +302,7 @@ cfr_wifi2_0_init_pdev(struct wlan_objmgr_psoc *psoc, if (idx >= info->num_mem_chunks) { pa->is_cfr_capable = 0; - qdf_print("WLAN_CSI: Shared memory not allocated - for CSI\n"); + qdf_info("CFR Shared memory not allocated\n"); return QDF_STATUS_E_NOMEM; } @@ -333,7 +332,8 @@ cfr_wifi2_0_init_pdev(struct wlan_objmgr_psoc *psoc, QDF_STATUS cfr_wifi2_0_deinit_pdev(struct wlan_objmgr_psoc *psoc, - struct wlan_objmgr_pdev *pdev) { + struct wlan_objmgr_pdev *pdev) +{ /* TODO:No cleanup action need for now */ return QDF_STATUS_SUCCESS;