瀏覽代碼

qca-wifi: Replace void * tgt_if_handle with abstract type

Replace void * tgt_if_handle of objmgr psoc/pdev with
abstract type handles provided by target interface

Change-Id: I903bbae99ec784fe445dc55f954792542d91f380
CRs-Fixed: 2467129
Himanshu Batra 6 年之前
父節點
當前提交
a6fbe2319d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cfr/src/target_if_cfr_wifi2_0.c

+ 1 - 1
cfr/src/target_if_cfr_wifi2_0.c

@@ -239,7 +239,7 @@ cfr_wifi2_0_init_pdev(struct wlan_objmgr_psoc *psoc,
 		return QDF_STATUS_E_FAILURE;
 
 	target_type = target_if_cfr_get_target_type(psoc);
-	tgt_hdl = (struct target_psoc_info *)wlan_psoc_get_tgt_if_handle(psoc);
+	tgt_hdl = wlan_psoc_get_tgt_if_handle(psoc);
 
 	if (tgt_hdl)
 		info = (&(tgt_hdl->info));