From 90d134ee47ec0833043c1e181bfd7189641edee3 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 3 Jun 2008 16:33:57 +0000 Subject: Use IO_CAPABILITY_INVALID instead of 0 for correctness --- hcid/adapter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hcid/adapter.c') 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, -- cgit