mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Serialize TDLS set state cmd to firmware
Serialize TDLS set command to firmware to avoid out of sequence WMI commands. Change-Id: Ia5d493b329dfa687e532797a5b47f3b82a0b3f76 CRs-Fixed: 2214605
This commit is contained in:
parent
0b83e8489c
commit
bb4f65bfb6
1 changed files with 11 additions and 1 deletions
|
|
@ -1108,7 +1108,9 @@ void tdls_notify_reset_adapter(struct wlan_objmgr_vdev *vdev)
|
|||
void tdls_peers_deleted_notification(struct wlan_objmgr_vdev *vdev,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct scheduler_msg msg = {0, };
|
||||
struct tdls_sta_notify_params *notify;
|
||||
QDF_STATUS status;
|
||||
|
||||
notify = qdf_mem_malloc(sizeof(*notify));
|
||||
if (!notify) {
|
||||
|
|
@ -1123,7 +1125,15 @@ void tdls_peers_deleted_notification(struct wlan_objmgr_vdev *vdev,
|
|||
notify->vdev = vdev;
|
||||
notify->user_disconnect = false;
|
||||
|
||||
tdls_notify_sta_disconnect(notify);
|
||||
msg.bodyptr = notify;
|
||||
msg.callback = tdls_process_cmd;
|
||||
msg.type = TDLS_NOTIFY_STA_DISCONNECTION;
|
||||
|
||||
status = scheduler_post_msg(QDF_MODULE_ID_OS_IF, &msg);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
qdf_mem_free(notify);
|
||||
tdls_alert("message post failed ");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue