qcacmn: Post tdls connet/disconnect event to target_if queue
TDLS will update tdls firmware state according to STA connection status, the change is to post tdls connect/disconnect event to target_if queue, otherwise these events will be scheduled too late which would be out of sync, cause unexpected results. Change-Id: I76d70339f236b580bfb98fb1b8f5121784cb3465 CRs-Fixed: 2269978
This commit is contained in:
@@ -636,7 +636,7 @@ QDF_STATUS ucfg_tdls_notify_sta_connect(
|
|||||||
msg.bodyptr = notify;
|
msg.bodyptr = notify;
|
||||||
msg.callback = tdls_process_cmd;
|
msg.callback = tdls_process_cmd;
|
||||||
msg.type = TDLS_NOTIFY_STA_CONNECTION;
|
msg.type = TDLS_NOTIFY_STA_CONNECTION;
|
||||||
scheduler_post_msg(QDF_MODULE_ID_OS_IF, &msg);
|
scheduler_post_msg(QDF_MODULE_ID_TARGET_IF, &msg);
|
||||||
|
|
||||||
tdls_debug("Exit ");
|
tdls_debug("Exit ");
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
@@ -669,7 +669,7 @@ QDF_STATUS ucfg_tdls_notify_sta_disconnect(
|
|||||||
msg.bodyptr = notify;
|
msg.bodyptr = notify;
|
||||||
msg.callback = tdls_process_cmd;
|
msg.callback = tdls_process_cmd;
|
||||||
msg.type = TDLS_NOTIFY_STA_DISCONNECTION;
|
msg.type = TDLS_NOTIFY_STA_DISCONNECTION;
|
||||||
scheduler_post_msg(QDF_MODULE_ID_OS_IF, &msg);
|
scheduler_post_msg(QDF_MODULE_ID_TARGET_IF, &msg);
|
||||||
|
|
||||||
tdls_debug("Exit ");
|
tdls_debug("Exit ");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user