char *address;
char *interface;
char *ident;
+ char *path;
int phyindex;
unsigned int connections;
guint scan_timeout;
g_free(device->name);
g_free(device->address);
g_free(device->interface);
+ g_free(device->path);
g_free(device->last_network);
} else if (g_str_equal(key, "Node") == TRUE) {
g_free(device->node);
device->node = g_strdup(value);
+ } else if (g_str_equal(key, "Path") == TRUE) {
+ g_free(device->path);
+ device->path = g_strdup(value);
}
return connman_element_set_string(&device->element, key, value);
return device->node;
else if (g_str_equal(key, "Interface") == TRUE)
return device->interface;
+ else if (g_str_equal(key, "Path") == TRUE)
+ return device->path;
return connman_element_get_string(&device->element, key);
}