qcacmn: Fix qdf_get_monotonic_boottime_ns()

Fix the API implementation to account for time spent in system
suspend. This matches with API qdf_get_monotonic_boottime()
implementation.

Change-Id: I4bf8980bfc4500c035e8de7df4d8a18dfc6775ae
CRs-Fixed: 2211953
This commit is contained in:
Mahesh Kumar Kalikot Veetil
2018-03-22 11:22:34 -07:00
committed by nshrivas
parent 581297b4d9
commit fe276b3bc7
2 changed files with 3 additions and 2 deletions

View File

@@ -783,7 +783,8 @@ s64 qdf_get_monotonic_boottime_ns(void)
{
struct timespec ts;
ktime_get_ts(&ts);
get_monotonic_boottime(&ts);
return timespec_to_ns(&ts);
}
qdf_export_symbol(qdf_get_monotonic_boottime_ns);