From cb5fd01a0c90eed65ba192c3776a1b18b9974fcb Mon Sep 17 00:00:00 2001 From: Sravan Kumar Kairam Date: Wed, 4 Jul 2018 17:43:22 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 99a20149f4ef..9b10efb6e4e8 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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); ret = hdd_green_ap_update_config(hdd_ctx);