summaryrefslogtreecommitdiff
path: root/src/element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.c')
-rw-r--r--src/element.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/element.c b/src/element.c
index 7b24a98e..3b021da4 100644
--- a/src/element.c
+++ b/src/element.c
@@ -272,7 +272,7 @@ int __connman_element_count(struct connman_element *element,
return data.count;
}
-const char *__connman_element_get_device(struct connman_element *element)
+const char *__connman_element_get_device_path(struct connman_element *element)
{
if (element->type == CONNMAN_ELEMENT_TYPE_DEVICE &&
element->device != NULL)
@@ -281,10 +281,10 @@ const char *__connman_element_get_device(struct connman_element *element)
if (element->parent == NULL)
return NULL;
- return __connman_element_get_device(element->parent);
+ return __connman_element_get_device_path(element->parent);
}
-const char *__connman_element_get_network(struct connman_element *element)
+const char *__connman_element_get_network_path(struct connman_element *element)
{
if (element->type == CONNMAN_ELEMENT_TYPE_NETWORK &&
element->network != NULL)
@@ -293,7 +293,7 @@ const char *__connman_element_get_network(struct connman_element *element)
if (element->parent == NULL)
return NULL;
- return __connman_element_get_network(element->parent);
+ return __connman_element_get_network_path(element->parent);
}
static gint compare_priority(gconstpointer a, gconstpointer b)