qcacld-3.0: Update UMAC ctrl pdev to dp pdev

Update UMAC ctrl pdev handle to dp pdev handle and also
update dp pdev handle to UMAC pddev handle.

Change-Id: I7e6fd9c80d3e982ce9398b2c9229622826f0f33f
CRs-Fixed: 2254324
This commit is contained in:
Sravan Kumar Kairam
2018-07-04 17:43:22 +05:30
committed by nshrivas
parent d8987cf5ec
commit cb5fd01a0c

View File

@@ -1934,6 +1934,13 @@ void hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg)
} }
} }
cdp_pdev_set_ctrl_pdev(cds_get_context(QDF_MODULE_ID_SOC),
cds_get_context(QDF_MODULE_ID_TXRX),
(struct cdp_ctrl_objmgr_pdev *)hdd_ctx->hdd_pdev);
wlan_pdev_set_dp_handle(hdd_ctx->hdd_pdev,
cds_get_context(QDF_MODULE_ID_TXRX));
hdd_objmgr_update_tgt_max_vdev_psoc(hdd_ctx, cfg->max_intf_count); hdd_objmgr_update_tgt_max_vdev_psoc(hdd_ctx, cfg->max_intf_count);
ret = hdd_green_ap_update_config(hdd_ctx); ret = hdd_green_ap_update_config(hdd_ctx);