mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Add correct api call to get proper boot time
Propagation from qcacld-2.0 to qcacld-3.0.
Currently to get clock boottime, qdf_get_monotonic_boottime_ns
api is getting used which does not include the suspend time.
To include the system suspend time also in clock boottime, use
qdf_get_bootbased_boottime_ns api which uses ktime_get_boot_ns
kernel api.
Change-Id: Ibcc628c315201fa3ced7e1ad96753772d91707b2
CRs-Fixed: 2067770
This commit is contained in:
parent
4f0e084945
commit
09d22cf288
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ lim_collect_bss_description(tpAniSirGlobal pMac,
|
|||
(uint8_t *) pHdr->bssId, sizeof(tSirMacAddr));
|
||||
|
||||
/* Copy Timestamp, Beacon Interval and Capability Info */
|
||||
pBssDescr->scansystimensec = qdf_get_monotonic_boottime_ns();
|
||||
pBssDescr->scansystimensec = qdf_get_bootbased_boottime_ns();
|
||||
|
||||
pBssDescr->timeStamp[0] = pBPR->timeStamp[0];
|
||||
pBssDescr->timeStamp[1] = pBPR->timeStamp[1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue