summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-15 17:18:52 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-17 03:32:28 -0700
commit24242e33ccec65383dbcf4f7de91af41e484ac73 (patch)
tree958248990e9ea614edc14c27c1fef7efad569334 /src/service.c
parent9e422dc9ba4eeee4162e72f05fd18cddff6dda27 (diff)
downloadconnman-24242e33ccec65383dbcf4f7de91af41e484ac73.tar.gz
connman-24242e33ccec65383dbcf4f7de91af41e484ac73.tar.bz2
connman-24242e33ccec65383dbcf4f7de91af41e484ac73.zip
[SPIN] Update operating frequency properly.
Change-Id: If4ce1cbf1518e1fc93ced32affe98aa05209b307 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/service.c')
-rwxr-xr-xsrc/service.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 1fbcc74f..2325f64e 100755
--- a/src/service.c
+++ b/src/service.c
@@ -2773,6 +2773,15 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited,
connman_dbus_dict_append_array(dict, "Security",
DBUS_TYPE_STRING, append_security, service);
+#if defined TIZEN_EXT
+ unsigned int frequency = 0U;
+ if (service && service->network) {
+ frequency = connman_network_get_frequency(service->network);
+ connman_dbus_dict_append_basic(dict, "Frequency",
+ DBUS_TYPE_UINT16, &frequency);
+ }
+#endif
+
str = state2string(service->state);
if (str)
connman_dbus_dict_append_basic(dict, "State",