char *mode;
char *security;
connman_uint8_t strength;
+ connman_bool_t favorite;
struct connman_network *network;
};
connman_dbus_dict_append_variant(&dict, "Strength",
DBUS_TYPE_BYTE, &group->strength);
+ connman_dbus_dict_append_variant(&dict, "Favorite",
+ DBUS_TYPE_BOOLEAN, &group->favorite);
+
dbus_message_iter_close_container(&array, &dict);
return reply;
group->type = CONNMAN_ELEMENT_TYPE_UNKNOWN;
group->path = g_strdup_printf("%s/%s", PROFILE_DEFAULT, name);
+ group->favorite = FALSE;
+
g_hash_table_insert(groups, g_strdup(name), group);
g_dbus_register_interface(connection, group->path,