Browse Source

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
Frank Liu 6 years ago
parent
commit
1a3151ed20
1 changed files with 2 additions and 2 deletions
  1. 2 2
      umac/tdls/dispatcher/src/wlan_tdls_ucfg_api.c

+ 2 - 2
umac/tdls/dispatcher/src/wlan_tdls_ucfg_api.c

@@ -636,7 +636,7 @@ QDF_STATUS ucfg_tdls_notify_sta_connect(
 	msg.bodyptr = notify;
 	msg.callback = tdls_process_cmd;
 	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 ");
 	return QDF_STATUS_SUCCESS;
@@ -669,7 +669,7 @@ QDF_STATUS ucfg_tdls_notify_sta_disconnect(
 	msg.bodyptr = notify;
 	msg.callback = tdls_process_cmd;
 	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 ");