summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-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",