mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Pass proper arguments while sending EV_ROAM to VDEV SM
Currently, while handling roam sync event wma_roam_synch_event_handler invokes wlan_vdev_mlme_sm_deliver_evt with extracted synch event as an argument. Driver assumes extracted synch event as event buffer and try to get sync event again. which results assert in host while roaming. wma_roam_synch_event_handler should pass roam sync event and its lenght as arguments which is coming through WMI_ROAM_SYNCH_EVENTID to wlan_vdev_mlme_sm_deliver_evt to send EV_ROAM. Fix is to pass proper argument to wlan_vdev_mlme_sm_deliver_evt in order to resolve this assert. Change-Id: I37f03a19e45189e61a5b86f714048816af7f5e5f CRs-Fixed: 2412552
This commit is contained in:
parent
c2e132a4c6
commit
9cfc2f5535
1 changed files with 2 additions and 2 deletions
|
|
@ -2823,8 +2823,8 @@ int wma_roam_synch_event_handler(void *handle, uint8_t *event,
|
|||
iface = &wma->interfaces[synch_event->vdev_id];
|
||||
qdf_status = wlan_vdev_mlme_sm_deliver_evt(iface->vdev,
|
||||
WLAN_VDEV_SM_EV_ROAM,
|
||||
sizeof(*synch_event),
|
||||
synch_event);
|
||||
len,
|
||||
event);
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status)) {
|
||||
wma_err("Failed to send the EV_ROAM");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue