Browse Source

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
Sravan Kumar Kairam 6 years ago
parent
commit
cb5fd01a0c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      core/hdd/src/wlan_hdd_main.c

+ 7 - 0
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);