qca-wifi: Fixes needed to enable cfr compile flag

Compilation fixes required to enable cfr compile flag

Change-Id: I0dd739a695d89a0effb6c116919ae915b2e22f0e
CRs-Fixed: 2407354
This commit is contained in:
narayan
2019-02-28 21:34:48 +05:30
committed by Gerrit - the friendly Code Review server
parent 2b4f3898b4
commit 2e193a1fb1
2 changed files with 5 additions and 5 deletions

View File

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

View File

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