summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-21 18:22:08 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-21 18:22:08 +0100
commitd7480e83fdcc558705237c888cdc6fab8620d846 (patch)
tree147e07b8093051c33d7827373c4b4b79c23bd2ad /src/device.c
parent03cbc012afd80dbdd75f1293ab2ada6b25044944 (diff)
downloadconnman-d7480e83fdcc558705237c888cdc6fab8620d846.tar.gz
connman-d7480e83fdcc558705237c888cdc6fab8620d846.tar.bz2
connman-d7480e83fdcc558705237c888cdc6fab8620d846.zip
More simplification of property functions
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 054e1aa6..a0530443 100644
--- a/src/device.c
+++ b/src/device.c
@@ -746,7 +746,7 @@ struct connman_device *connman_device_create(const char *node,
str = type2string(type);
if (str != NULL)
- connman_element_add_static_property(&device->element,
+ connman_element_set_static_property(&device->element,
"Type", DBUS_TYPE_STRING, &str);
device->element.ipv4.method = CONNMAN_IPV4_METHOD_DHCP;