Merge "qca-wifi: Replace void * tgt_if_handle with abstract type"

This commit is contained in:
Linux Build Service Account
2019-07-19 04:10:12 -07:00
committed by Gerrit - the friendly Code Review server
melakukan 7cec258273
2 mengubah file dengan 3 tambahan dan 3 penghapusan

Melihat File

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

Melihat File

@@ -2322,7 +2322,7 @@ void dfs_set_precac_enable(struct wlan_dfs *dfs, uint32_t value)
tx_ops = &psoc->soc_cb.tx_ops.target_tx_ops;
target_type = lmac_get_target_type(dfs->dfs_pdev_obj);
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) {
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "target_psoc_info is null");
return;
@@ -2424,7 +2424,7 @@ uint32_t dfs_get_precac_enable(struct wlan_dfs *dfs)
retval = 0;
}
tgt_hdl = (struct target_psoc_info *)wlan_psoc_get_tgt_if_handle(psoc);
tgt_hdl = wlan_psoc_get_tgt_if_handle(psoc);
info = (struct tgt_info *)(&tgt_hdl->info);
if (!tgt_hdl) {