mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: Add correct api call to get proper boot time
Propagation from qcacld-2.0 to qcacmn Missing changes from Ibcc628c315201fa3ced7e1ad96753772d91707b2 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: I4a9a783ce0cc164404d89c23d57b02746154aa46 CRs-Fixed: 2203527
This commit is contained in:
parent
929e1e9760
commit
6fcc790e98
1 changed files with 1 additions and 1 deletions
|
|
@ -846,7 +846,7 @@ util_scan_unpack_beacon_frame(uint8_t *frame,
|
|||
hdr = (struct wlan_frame_hdr *)frame;
|
||||
|
||||
/* update timestamp in nanoseconds needed by kernel layers */
|
||||
scan_entry->boottime_ns = qdf_get_monotonic_boottime_ns();
|
||||
scan_entry->boottime_ns = qdf_get_bootbased_boottime_ns();
|
||||
|
||||
scan_entry->frm_subtype = frm_subtype;
|
||||
qdf_mem_copy(scan_entry->bssid.bytes,
|
||||
|
|
|
|||
Loading…
Reference in a new issue