qcacmn: Remove redundant data structure for wmi response extraction

Remove redundant data structure at wmi for vdev delete
response extraction, instead use mlme host data structure.

Change-Id: Iedb4280fb47d6567bc4d7b663ecd6af5e769ddfc
CRs-Fixed: 2641197
This commit is contained in:
Naga
2020-03-13 16:39:56 +05:30
committed by nshrivas
parent 0e1692f8e7
commit b805e1fa7b
6 changed files with 8 additions and 17 deletions

View File

@@ -363,8 +363,7 @@ static int target_if_vdev_mgr_delete_response_handler(ol_scn_t scn,
struct wlan_objmgr_psoc *psoc;
struct wmi_unified *wmi_handle;
struct wlan_lmac_if_mlme_rx_ops *rx_ops;
struct vdev_delete_response rsp = {0};
struct wmi_host_vdev_delete_resp vdev_del_resp;
struct vdev_delete_response vdev_del_resp = {0};
struct vdev_response_timer *vdev_rsp;
if (!scn || !data) {
@@ -413,8 +412,7 @@ static int target_if_vdev_mgr_delete_response_handler(ol_scn_t scn,
goto err;
}
rsp.vdev_id = vdev_del_resp.vdev_id;
status = rx_ops->vdev_mgr_delete_response(psoc, &rsp);
status = rx_ops->vdev_mgr_delete_response(psoc, &vdev_del_resp);
err:
return qdf_status_to_os_return(status);