qcacmn: Remove redundant data structure for wmi response extraction

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

Change-Id: Ice91f55e0bf8a23ea1a639a74f6a8ac3b2779a7b
CRs-Fixed: 2641261
This commit is contained in:
Naga
2020-03-13 17:31:54 +05:30
committed by nshrivas
vanhempi 06869dc028
commit c6e9bd033c
6 muutettua tiedostoa jossa 10 lisäystä ja 27 poistoa

Näytä tiedosto

@@ -434,9 +434,7 @@ static int target_if_vdev_mgr_peer_delete_all_response_handler(
struct wlan_objmgr_psoc *psoc;
struct wmi_unified *wmi_handle;
struct wlan_lmac_if_mlme_rx_ops *rx_ops;
struct peer_delete_all_response rsp = {0};
struct wmi_host_vdev_peer_delete_all_response_event
vdev_peer_del_all_resp;
struct peer_delete_all_response vdev_peer_del_all_resp = {0};
struct vdev_response_timer *vdev_rsp;
if (!scn || !data) {
@@ -490,9 +488,9 @@ static int target_if_vdev_mgr_peer_delete_all_response_handler(
goto err;
}
rsp.vdev_id = vdev_peer_del_all_resp.vdev_id;
rsp.status = vdev_peer_del_all_resp.status;
status = rx_ops->vdev_mgr_peer_delete_all_response(psoc, &rsp);
status = rx_ops->vdev_mgr_peer_delete_all_response(
psoc,
&vdev_peer_del_all_resp);
err:
return qdf_status_to_os_return(status);