qcacmn: Correct input type for qdf_mem_zero
In dp_ipa_setup function, the function qdf_mem_zero is called and should receive a pointer instead of address to a pointer for tx and rx when they are called. These pointers are also initialized to NULL when declared locally. Change-Id: Iec9c76c63cc2ec00bdfb54497cca2f22fabff045 CRs-Fixed: 2469428
This commit is contained in:
@@ -1057,8 +1057,8 @@ QDF_STATUS dp_ipa_setup(struct cdp_pdev *ppdev, void *ipa_i2w_cb,
|
||||
struct dp_ipa_resources *ipa_res = &pdev->ipa_resource;
|
||||
qdf_ipa_ep_cfg_t *tx_cfg;
|
||||
qdf_ipa_ep_cfg_t *rx_cfg;
|
||||
qdf_ipa_wdi_pipe_setup_info_t *tx;
|
||||
qdf_ipa_wdi_pipe_setup_info_t *rx;
|
||||
qdf_ipa_wdi_pipe_setup_info_t *tx = NULL;
|
||||
qdf_ipa_wdi_pipe_setup_info_t *rx = NULL;
|
||||
qdf_ipa_wdi_pipe_setup_info_smmu_t *tx_smmu;
|
||||
qdf_ipa_wdi_pipe_setup_info_smmu_t *rx_smmu;
|
||||
qdf_ipa_wdi_conn_in_params_t pipe_in;
|
||||
@@ -1068,9 +1068,6 @@ QDF_STATUS dp_ipa_setup(struct cdp_pdev *ppdev, void *ipa_i2w_cb,
|
||||
if (!wlan_cfg_is_ipa_enabled(soc->wlan_cfg_ctx))
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
|
||||
qdf_mem_zero(&tx, sizeof(qdf_ipa_wdi_pipe_setup_info_t));
|
||||
qdf_mem_zero(&rx, sizeof(qdf_ipa_wdi_pipe_setup_info_t));
|
||||
qdf_mem_zero(&pipe_in, sizeof(pipe_in));
|
||||
qdf_mem_zero(&pipe_out, sizeof(pipe_out));
|
||||
|
||||
|
Reference in New Issue
Block a user