qcacmn: Change wlan driver prints from hex to decimal mode
Currently, wlan driver prints id in hex mode and fw prints in decimal mode. Unnecessary hex to dec conversion conversion is required while comparing with fw logs. Fix is to change driver timestamp log from hex to decimal. Change-Id: I78f9b7fe0ba590c53ea3e90b982691d91b7453e4 CRs-Fixed: 2620935
This commit is contained in:
@@ -287,8 +287,9 @@ static int wlan_add_user_log_time_stamp(char *tbuf, size_t tbuf_sz, uint64_t ts)
|
||||
|
||||
qdf_get_time_of_the_day_in_hr_min_sec_usec(time_buf, sizeof(time_buf));
|
||||
|
||||
return scnprintf(tbuf, tbuf_sz, "[%.6s][0x%llx]%s",
|
||||
current_process_name(), ts, time_buf);
|
||||
return scnprintf(tbuf, tbuf_sz, "[%.6s][%llu]%s",
|
||||
current_process_name(), (unsigned long long)ts,
|
||||
time_buf);
|
||||
}
|
||||
|
||||
#ifdef WLAN_MAX_LOGS_PER_SEC
|
||||
|
Reference in New Issue
Block a user