summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-06-03 16:33:57 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-06-03 16:33:57 +0000
commit90d134ee47ec0833043c1e181bfd7189641edee3 (patch)
treeb35ac3546e8a01898022525993ed6825af6451f7 /hcid
parentedbb9a6396085fb857f4c35e5a5c931aca633b35 (diff)
Use IO_CAPABILITY_INVALID instead of 0 for correctness
Diffstat (limited to 'hcid')
-rw-r--r--hcid/adapter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index c6756d21..95e45053 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -2751,7 +2751,8 @@ static DBusHandlerResult adapter_create_bonding(DBusConnection *conn,
return error_invalid_arguments(conn, msg, NULL);
return send_message_and_unref(conn,
- create_bonding(conn, msg, address, NULL, 0, data));
+ create_bonding(conn, msg, address, NULL,
+ IO_CAPABILITY_INVALID, data));
}
static DBusHandlerResult adapter_cancel_bonding(DBusConnection *conn,