Эх сурвалжийг харах

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 жил өмнө
parent
commit
a6fbe2319d

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