Quellcode durchsuchen

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 vor 2 Jahren
Ursprung
Commit
238df32c0b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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);
 }
 
 /**