Explorar el Código

qcacmn: Optimize log prints

Current log format has redundant info in wmi_log_cmd_id.
Ex: wmi_log_cmd_id: Send WMI command:WMI_INIT_CMDID command_id:1 htc_tag:0
Optimize the same by removing "Send WMI command" and "command_id"

Change-Id: I394a42033cdef2b5fb51343a1f6f9690a5a41fba
CRs-Fixed: 3328230
Vinod Kumar Myadam hace 2 años
padre
commit
238df32c0b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      wmi/src/wmi_unified.c

+ 2 - 2
wmi/src/wmi_unified.c

@@ -1783,8 +1783,8 @@ static uint8_t *wmi_id_to_name(uint32_t wmi_command)
 
 static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag)
 {
-	wmi_debug("Send WMI command:%s command_id:%d htc_tag:%d",
-		 wmi_id_to_name(cmd_id), cmd_id, tag);
+	wmi_nofl_debug("Send cmd %s(0x%x) tag:%d",
+		       wmi_id_to_name(cmd_id), cmd_id, tag);
 }
 
 /**