瀏覽代碼

qcacld-3.0: Change the order of BTM req print

Currently roam scan print comes after BTM request print
in connectivity logging. The ideal order is BTM req print
followed by roam scan start.

Change the order of BTM request before scan start.

Change-Id: I63a8e67a43dbd70ed44eb8f18fd979557bf764d2
CRs-Fixed: 3138450
Pragaspathi Thilagaraj 3 年之前
父節點
當前提交
f9064a2c65
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c

+ 4 - 3
components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c

@@ -2754,15 +2754,16 @@ cm_roam_stats_print_trigger_info(struct wmi_roam_trigger_info *data,
 	char *buf;
 	char time[TIME_STRING_LEN];
 
-	/* Update roam trigger info to userspace */
-	cm_roam_trigger_info_event(data, vdev_id, is_full_scan);
-
 	buf = qdf_mem_malloc(MAX_ROAM_DEBUG_BUF_SIZE);
 	if (!buf)
 		return;
 
 	cm_roam_stats_get_trigger_detail_str(data, buf, is_full_scan, vdev_id);
 	mlme_get_converted_timestamp(data->timestamp, time);
+
+	/* Update roam trigger info to userspace */
+	cm_roam_trigger_info_event(data, vdev_id, is_full_scan);
+
 	mlme_nofl_info("%s [ROAM_TRIGGER]: VDEV[%d] %s", time, vdev_id, buf);
 
 	qdf_mem_free(buf);