Kaynağa Gözat

qcacld-3.0: Move certain logs to appropriate log levels

Propagation from qcacld-2.0 to qcacld-3.0

Some of the logs are printing quite often and spamming the kernel logs.
Hence move them to appropriate log levels and remove the useless debug
messages.

Change-Id: If38d7a6a3cf13a5879f6a628d3d7eb4f5156a95b
CRs-Fixed: 1001441
Srinivas Girigowda 8 yıl önce
ebeveyn
işleme
e1e691382c
1 değiştirilmiş dosya ile 6 ekleme ve 3 silme
  1. 6 3
      core/wma/src/wma_features.c

+ 6 - 3
core/wma/src/wma_features.c

@@ -3114,9 +3114,12 @@ int wma_wow_wakeup_host_event(void *handle, uint8_t *event,
 
 	wake_info = param_buf->fixed_param;
 
-	WMA_LOGA("WOW wakeup host event received (reason: %s(%d)) for vdev %d",
-		 wma_wow_wake_reason_str(wake_info->wake_reason),
-		 wake_info->wake_reason, wake_info->vdev_id);
+	if ((wake_info->wake_reason != WOW_REASON_UNSPECIFIED) ||
+	    (wake_info->wake_reason == WOW_REASON_UNSPECIFIED &&
+	     !wmi_get_runtime_pm_inprogress(wma->wmi_handle)))
+		WMA_LOGA("WOW wakeup host event received (reason: %s(%d)) for vdev %d",
+			 wma_wow_wake_reason_str(wake_info->wake_reason),
+			 wake_info->wake_reason, wake_info->vdev_id);
 
 	qdf_event_set(&wma->wma_resume_event);