Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10c3e712 authored by Liangwei Dong's avatar Liangwei Dong Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Fix invalid timestamp in kernel bss entry

Driver report beacon/probe rsp frame in wlan_hdd_inform_bss_frame
to kernel. "boottime_ns" field needs be filled by "scansystimensec"
in nanosecond, so assign "boottime_ns" (NS) from scan entry to
bss_description instead of "scan_entry_time" (MS).

Change-Id: Id22f119f41f8cf60a8aadc9e04c4f18424c88413
CRs-Fixed: 2870827
parent 2036dd49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2373,7 +2373,7 @@ static QDF_STATUS csr_fill_bss_from_scan_entry(struct mac_context *mac_ctx,
	qdf_mem_copy(bss_desc->bssId,
			scan_entry->bssid.bytes,
			QDF_MAC_ADDR_SIZE);
	bss_desc->scansystimensec = scan_entry->scan_entry_time;
	bss_desc->scansystimensec = scan_entry->boottime_ns;
	qdf_mem_copy(bss_desc->timeStamp,
		scan_entry->tsf_info.data, 8);