mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Extract disconnect reason code from notif_params
Currently the driver extracts the reason code from notif instead of notif_params. This results in wrong reason code being sent to upper layers. Extract disconnect reason code from notif_params when disconnect event is received. Change-Id: I808feecbb74a0a6c78fa31ca78b35c7318e5e9cb CRs-Fixed: 2623415
This commit is contained in:
parent
af44cfc4d9
commit
8876115a93
1 changed files with 2 additions and 2 deletions
|
|
@ -5938,14 +5938,14 @@ int wma_roam_event_callback(WMA_HANDLE handle, uint8_t *event_buf,
|
|||
break;
|
||||
case WMI_ROAM_REASON_DEAUTH:
|
||||
WMA_LOGD("%s: Received disconnect roam event reason:%d",
|
||||
__func__, wmi_event->notif);
|
||||
__func__, wmi_event->notif_params);
|
||||
|
||||
if (wmi_event->notif_params1)
|
||||
frame = param_buf->deauth_disassoc_frame;
|
||||
wma_handle->pe_disconnect_cb(wma_handle->mac_context,
|
||||
wmi_event->vdev_id,
|
||||
frame, wmi_event->notif_params1,
|
||||
wmi_event->notif);
|
||||
wmi_event->notif_params);
|
||||
roam_synch_data = qdf_mem_malloc(sizeof(*roam_synch_data));
|
||||
if (!roam_synch_data)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue