Browse Source

qcacld-3.0: Update target type to target_type of psoc_info->info

Target type should be passed to target_type of psoc_info->info in
wma_open.

Change-Id: I657b54c6c64c40f0a0bff2cbd6c75cddc4edc921
CRs-Fixed: 2184833
bings 7 years ago
parent
commit
6b41366494
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/wma/src/wma_main.c

+ 1 - 0
core/wma/src/wma_main.c

@@ -2909,6 +2909,7 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
 	/* store the wmi handle in tgt_if_handle */
 	tgt_psoc_info = wlan_psoc_get_tgt_if_handle(psoc);
 
+	target_psoc_set_target_type(tgt_psoc_info, target_type);
 	/* Save the WMI & HTC handle */
 	target_psoc_set_wmi_hdl(tgt_psoc_info, wmi_handle);
 	wma_handle->wmi_handle = wmi_handle;