connman_uint8_t strength, value;
connman_bool_t roaming;
GSequenceIter *iter;
+ const char *name;
DBG("network %p", network);
if (service->network == NULL)
return;
+ name = connman_network_get_string(service->network, "Name");
+ if (g_strcmp0(service->name, name) != 0) {
+ g_free(service->name);
+ service->name = g_strdup(name);
+ connman_dbus_property_changed_basic(service->path,
+ CONNMAN_SERVICE_INTERFACE, "Name",
+ DBUS_TYPE_STRING, &service->name);
+ }
+
strength = connman_network_get_uint8(service->network, "Strength");
if (strength == service->strength)
goto roaming;