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 năm trước cách đây
mục cha
commit
1a3151ed20
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 ");