summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-28 07:44:30 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-28 07:44:30 +0100
commit90f711afacfc4858639990ea003ec32a4cfafb83 (patch)
tree4c183f10bb19251a02f3bca7514f212eed6ef25d /src
parent4c9720135427e44a128e80462acec3cf55eba31d (diff)
downloadconnman-90f711afacfc4858639990ea003ec32a4cfafb83.tar.gz
connman-90f711afacfc4858639990ea003ec32a4cfafb83.tar.bz2
connman-90f711afacfc4858639990ea003ec32a4cfafb83.zip
Don't add policy to network objects
Diffstat (limited to 'src')
-rw-r--r--src/element.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/element.c b/src/element.c
index 9045c9ba..42e4e87e 100644
--- a/src/element.c
+++ b/src/element.c
@@ -443,7 +443,6 @@ static DBusMessage *network_get_properties(DBusConnection *conn,
struct connman_element *element = data;
DBusMessage *reply;
DBusMessageIter array, dict;
- const char *str;
DBG("conn %p", conn);
@@ -462,11 +461,6 @@ static DBusMessage *network_get_properties(DBusConnection *conn,
connman_dbus_dict_append_variant(&dict, "Device",
DBUS_TYPE_OBJECT_PATH, &element->parent->path);
- str = __connman_element_policy2string(element->policy);
- if (str != NULL)
- connman_dbus_dict_append_variant(&dict, "Policy",
- DBUS_TYPE_STRING, &str);
-
connman_dbus_dict_append_variant(&dict, "Available",
DBUS_TYPE_BOOLEAN, &element->available);