summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchleun.moon <chleun.moon@samsung.com>2016-06-22 04:23:50 (GMT)
committerchleun.moon <chleun.moon@samsung.com>2016-06-22 04:24:07 (GMT)
commite0c6508191296071b1f84adc9a9dbb3ac6d530ad (patch)
treeb15b49295d824f67e0373f36a2df25375788ac52
parent9c59ca5a99768d876fb5e12366f158bc2110ba9c (diff)
downloadconnman-accepted/tizen/ivi/20160623.121441.zip
connman-accepted/tizen/ivi/20160623.121441.tar.gz
connman-accepted/tizen/ivi/20160623.121441.tar.bz2
Change-Id: If753aeecc7206c4421dcd01d3359b9ae587e0f92 Signed-off-by: cheoleun <chleun.moon@samsung.com>
-rwxr-xr-xsrc/service.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/service.c b/src/service.c
index a2108bb..056213f 100755
--- a/src/service.c
+++ b/src/service.c
@@ -2772,14 +2772,6 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited,
const char *str;
GSList *list;
- str = __connman_service_type2string(service->type);
- if (str)
- connman_dbus_dict_append_basic(dict, "Type",
- DBUS_TYPE_STRING, &str);
-
- 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) {
@@ -2789,6 +2781,14 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited,
}
#endif
+ str = __connman_service_type2string(service->type);
+ if (str)
+ connman_dbus_dict_append_basic(dict, "Type",
+ DBUS_TYPE_STRING, &str);
+
+ connman_dbus_dict_append_array(dict, "Security",
+ DBUS_TYPE_STRING, append_security, service);
+
str = state2string(service->state);
if (str)
connman_dbus_dict_append_basic(dict, "State",