qcacld-3.0: Send psoc also in roam events to target_if

target_if expects psoc as part of roam events which is used for
event extraction. Send the same as it's missing currently.

Change-Id: I04729df90d8e64e07427fe47926a8a92a24aaf23
CRs-Fixed: 3027055
This commit is contained in:
Srinivas Dasari
2021-09-01 10:25:29 +05:30
committad av Madan Koyyalamudi
förälder 408c357390
incheckning 9a4a9a493e

Visa fil

@@ -307,6 +307,7 @@ int target_if_cm_roam_event(ol_scn_t scn, uint8_t *event, uint32_t len)
return -EINVAL;
}
roam_event->psoc = psoc;
msg.bodyptr = roam_event;
msg.type = ROAM_EVENT;
msg.callback = target_if_roam_event_dispatcher;
@@ -398,6 +399,7 @@ target_if_cm_roam_vdev_disconnect_event_handler(ol_scn_t scn, uint8_t *event,
return -EINVAL;
}
data->psoc = psoc;
msg.bodyptr = data;
msg.type = ROAM_VDEV_DISCONNECT_EVENT;
msg.callback = target_if_roam_event_dispatcher;
@@ -575,6 +577,7 @@ target_if_pmkid_request_event_handler(ol_scn_t scn, uint8_t *event,
return -EINVAL;
}
data->psoc = psoc;
msg.bodyptr = data;
msg.type = ROAM_PMKID_REQ_EVENT;
msg.callback = target_if_roam_event_dispatcher;