qcacmn: Fix return value in qdf_usecs_to_log_timestamp function

qdf_usecs_to_log_timestamp() was returning the remainder value
of do_div operation instead of the quotient. Now fix has been
made to return the correct value.

Change-Id: I6c7041b4a837b311f63616aff23bf2a20dbe7adb
CRs-Fixed: 3471529
This commit is contained in:
Naveen S
2023-04-27 10:35:23 +05:30
کامیت شده توسط Rahul Choudhary
والد eb95c8b60f
کامیت d8890ce513

مشاهده پرونده

@@ -217,7 +217,8 @@ uint64_t qdf_usecs_to_log_timestamp(uint64_t usecs)
ts = (usecs * QDF_LOG_TIMESTAMP_CYCLES_PER_10_US);
return do_div(ts, 10ul);
do_div(ts, 10ul);
return ts;
}
qdf_export_symbol(qdf_usecs_to_log_timestamp);