소스 검색

qcacmn: Change default log level for serialization

Change default log level of serialization to QDF_TRACE_LEVEL_ERROR
Change error print to debug, when pending queue is empty,
which is a possible expected case.

Change-Id: I21cd6b5f158d5dffbc6e7309c9202e7e2e0162e8
CRs-Fixed: 2387017
Vivek 6 년 전
부모
커밋
d34b7d0d62
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      qdf/linux/src/qdf_trace.c
  2. 1 1
      umac/cmn_services/serialization/src/wlan_serialization_non_scan.c

+ 1 - 1
qdf/linux/src/qdf_trace.c

@@ -3293,7 +3293,7 @@ static void set_default_trace_levels(struct category_info *cinfo)
 		[QDF_MODULE_ID_TARGET_IF] = QDF_TRACE_LEVEL_INFO,
 		[QDF_MODULE_ID_SCHEDULER] = QDF_TRACE_LEVEL_NONE,
 		[QDF_MODULE_ID_MGMT_TXRX] = QDF_TRACE_LEVEL_NONE,
-		[QDF_MODULE_ID_SERIALIZATION] = QDF_TRACE_LEVEL_NONE,
+		[QDF_MODULE_ID_SERIALIZATION] = QDF_TRACE_LEVEL_ERROR,
 		[QDF_MODULE_ID_PMO] = QDF_TRACE_LEVEL_NONE,
 		[QDF_MODULE_ID_P2P] = QDF_TRACE_LEVEL_NONE,
 		[QDF_MODULE_ID_POLICY_MGR] = QDF_TRACE_LEVEL_NONE,

+ 1 - 1
umac/cmn_services/serialization/src/wlan_serialization_non_scan.c

@@ -260,7 +260,7 @@ wlan_ser_move_non_scan_pending_to_active(
 	if (!qsize) {
 		wlan_serialization_release_lock(
 			&pdev_queue->pdev_queue_lock);
-		ser_err("Pending Queue is empty");
+		ser_debug("Pending Queue is empty");
 		goto error;
 	}