summaryrefslogtreecommitdiff
path: root/src/element.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-21 23:38:53 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-09-21 23:38:53 +0900
commit5d9640d4325e7df79840a3795ee35a6c8a4ff611 (patch)
tree770702bead281930f9df83ebd4275b2ba4aa7f28 /src/element.c
parentf0f3b59bdcc51ffbdde13629d88bebfbb66b9827 (diff)
downloadconnman-5d9640d4325e7df79840a3795ee35a6c8a4ff611.tar.gz
connman-5d9640d4325e7df79840a3795ee35a6c8a4ff611.tar.bz2
connman-5d9640d4325e7df79840a3795ee35a6c8a4ff611.zip
Use __connman_device_get_service_type for getting service type
Diffstat (limited to 'src/element.c')
-rw-r--r--src/element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.c b/src/element.c
index 264b5a71..3e745da4 100644
--- a/src/element.c
+++ b/src/element.c
@@ -273,7 +273,7 @@ static gboolean find_device(GNode *node, gpointer user_data)
if (element->device == NULL)
return FALSE;
- if (data->type != connman_device_get_type(element->device))
+ if (data->type != __connman_device_get_service_type(element->device))
return FALSE;
data->device = element->device;