Browse Source

qcacld-3.0: Reduce the log level of p2p scan messages

Change the log level of p2p scan messages from error
to correct log level since they are not error messages.

CRs-Fixed: 1069559
Change-Id: I68d5f6addc53e76536a989cfa7bf131f20b8dcd2
Archana Ramachandran 8 years ago
parent
commit
31b5b65aba
3 changed files with 6 additions and 6 deletions
  1. 2 2
      core/hdd/src/wlan_hdd_wext.c
  2. 1 1
      core/sme/src/common/sme_api.c
  3. 3 3
      core/wma/src/wma_scan_roam.c

+ 2 - 2
core/hdd/src/wlan_hdd_wext.c

@@ -3672,7 +3672,7 @@ QDF_STATUS wlan_hdd_get_class_astats(hdd_adapter_t *pAdapter)
 				     pHddStaCtx->conn_info.staId[0],
 				     &context, pAdapter->sessionId);
 	if (QDF_STATUS_SUCCESS != hstatus) {
-		hdd_err("Unable to retrieve Class A statistics");
+		hdd_warn("Unable to retrieve Class A statistics");
 		/* we'll returned a cached value below */
 	} else {
 		/* request was sent -- wait for the response */
@@ -3680,7 +3680,7 @@ QDF_STATUS wlan_hdd_get_class_astats(hdd_adapter_t *pAdapter)
 			(&context.completion,
 			 msecs_to_jiffies(WLAN_WAIT_TIME_STATS));
 		if (!rc) {
-			hdd_err("SME timed out while retrieving Class A statistics");
+			hdd_warn("SME timed out while retrieving Class A statistics");
 		}
 	}
 

+ 1 - 1
core/sme/src/common/sme_api.c

@@ -749,7 +749,7 @@ bool sme_process_scan_queue(tpAniSirGlobal pMac)
 	if (!pEntry)
 		goto end;
 
-	sms_log(pMac, LOGE,
+	sms_log(pMac, LOG1,
 		FL("scan_count in active scanlist %d "),
 		pMac->sme.smeScanCmdActiveList.Count);
 

+ 3 - 3
core/wma/src/wma_scan_roam.c

@@ -528,7 +528,7 @@ QDF_STATUS wma_start_scan(tp_wma_handle wma_handle,
 	if (scan_req->p2pScanType == P2P_SCAN_TYPE_LISTEN)
 		wma_set_p2p_scan_info(wma_handle, cmd.scan_id,
 			 cmd.vdev_id, P2P_SCAN_TYPE_LISTEN);
-	WMA_LOGE("scan_id 0x%x, vdev_id %d, p2pScanType %d, msg_type 0x%x",
+	WMA_LOGI("scan_id 0x%x, vdev_id %d, p2pScanType %d, msg_type 0x%x",
 		 cmd.scan_id, cmd.vdev_id, scan_req->p2pScanType, msg_type);
 	/*
 	 * Cache vdev_id and scan_id because cmd is freed after calling
@@ -613,7 +613,7 @@ QDF_STATUS wma_stop_scan(tp_wma_handle wma_handle,
 			qdf_status);
 		goto error;
 	}
-	WMA_LOGE("scan_id 0x%x, scan_requestor_id 0x%x, vdev_id %d",
+	WMA_LOGI("scan_id 0x%x, scan_requestor_id 0x%x, vdev_id %d",
 		 abort_scan_req->scan_id,
 		 abort_scan_req->scan_requestor_id,
 		 abort_scan_req->SessionId);
@@ -5659,7 +5659,7 @@ int wma_scan_event_callback(WMA_HANDLE handle, uint8_t *data,
 	/* Stop scan completion timeout if event is WMI_SCAN_EVENT_COMPLETED */
 	if (scan_event->event ==
 			(enum sir_scan_event_type) WMI_SCAN_EVENT_COMPLETED) {
-		WMA_LOGE("scan complete:scan_id 0x%x, requestor 0x%x, vdev %d",
+		WMA_LOGI("scan complete:scan_id 0x%x, requestor 0x%x, vdev %d",
 			 wmi_event->scan_id, wmi_event->requestor, vdev_id);
 	}