浏览代码

qcacld-3.0: Add flag to filter special vendor roam log

Since special vendor roam log is not need for common roam,
add flag to filter the log.

Change-Id: I5eb47f68048a48f817037e5e98d3e7fe51ee6565
CRs-Fixed: 3437627
chunquan luo 2 年之前
父节点
当前提交
39dd13c819
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c

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

@@ -2822,7 +2822,10 @@ cm_roam_stats_print_trigger_info(struct wlan_objmgr_psoc *psoc,
 
 	/* Update roam trigger info to userspace */
 	cm_roam_trigger_info_event(data, scan_data, vdev_id, is_full_scan);
-	mlme_nofl_info("%s [ROAM_TRIGGER]: VDEV[%d] %s", time, vdev_id, buf);
+
+	if (!data->common_roam)
+		mlme_nofl_info("%s [ROAM_TRIGGER]: VDEV[%d] %s",
+			       time, vdev_id, buf);
 	qdf_mem_free(buf);
 
 	status = wlan_cm_update_roam_states(psoc, vdev_id, data->trigger_reason,