summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadma, Santhosh Kumar <skpadma@qti.qualcomm.com>2016-04-04 19:47:09 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-11 12:43:56 +0530
commitded22132404b14df61ed569ed1151fe098b78075 (patch)
treead8ac872425282554175f7611c6d7ac6adfd455b
parent08d95dba523928432c6a836408618e587179fada (diff)
qcacld-2.0: Send driver time stamp from boot time
Currently, driver time stamp is sent based on system time (time of the day). Time-of-day leads to confusing data when the system time is changed. Fix this by sending time stamp since boot and in micro seconds. Change-Id: I9b1f376fb54104f832dd6fd856b362120e233444 CRs-Fixed: 999407
-rw-r--r--CORE/SVC/src/logging/wlan_logging_sock_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SVC/src/logging/wlan_logging_sock_svc.c b/CORE/SVC/src/logging/wlan_logging_sock_svc.c
index 53a45ddd1093..a95c257ab3f5 100644
--- a/CORE/SVC/src/logging/wlan_logging_sock_svc.c
+++ b/CORE/SVC/src/logging/wlan_logging_sock_svc.c
@@ -1294,7 +1294,7 @@ static void send_packetdump(adf_nbuf_t netbuf, uint8_t status,
pd_hdr.status = status;
pd_hdr.type = type;
- pd_hdr.driver_ts = vos_timer_get_system_time();
+ pd_hdr.driver_ts = vos_get_monotonic_boottime();
if ((type == TX_MGMT_PKT) || (type == TX_DATA_PKT))
gtx_count++;