summaryrefslogtreecommitdiff
path: root/src/provider.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-01-10 14:29:26 +0100
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-01-10 15:05:10 +0100
commit2362dd90900444b61fb6b663c247c2e1ea65790c (patch)
tree1515bc1ea45f802765ad10fc731f8d5dae4517e9 /src/provider.c
parent04b2d54d3b6230e2ea74480988a330f4fee7d7e1 (diff)
downloadconnman-2362dd90900444b61fb6b663c247c2e1ea65790c.tar.gz
connman-2362dd90900444b61fb6b663c247c2e1ea65790c.tar.bz2
connman-2362dd90900444b61fb6b663c247c2e1ea65790c.zip
provider: Undo empty D-Bus message check
This check is wrong.
Diffstat (limited to 'src/provider.c')
-rw-r--r--src/provider.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/provider.c b/src/provider.c
index 5bea4c50..1ff6bc43 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -555,9 +555,6 @@ int __connman_provider_create_and_connect(DBusMessage *msg)
int err;
dbus_message_iter_init(msg, &iter);
- if (dbus_message_iter_has_next(&iter) == FALSE)
- return -EINVAL;
-
dbus_message_iter_recurse(&iter, &array);
while (dbus_message_iter_get_arg_type(&array) == DBUS_TYPE_DICT_ENTRY) {