diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2020-01-23 19:28:27 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2020-01-23 19:28:27 +0530 |
commit | ca71bb86663ce21519bceaa0d0610fe05a979b82 (patch) | |
tree | 906e94644272111d40a02bba4761410ccd56860f | |
parent | 0b07242ac61ec568ca4e722855c0c51f1f13fe72 (diff) | |
download | connman-ca71bb86663ce21519bceaa0d0610fe05a979b82.tar.gz connman-ca71bb86663ce21519bceaa0d0610fe05a979b82.tar.bz2 connman-ca71bb86663ce21519bceaa0d0610fe05a979b82.zip |
Update time when Auto Time Update event is received.
When Auto Time Update event is received, update the
system time although default service is not changed.
Change-Id: I205dab72879cf54e0aa31cecd0826d9c8b63736c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-x | src/timeserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeserver.c b/src/timeserver.c index c6103466..32f1b01c 100755 --- a/src/timeserver.c +++ b/src/timeserver.c @@ -359,8 +359,10 @@ int __connman_timeserver_sync(struct connman_service *default_service) if (!service) return -EINVAL; +#if !defined TIZEN_EXT if (service == ts_service) return -EALREADY; +#endif if (!resolv) return 0; |