From 040982cf058f2639ad9f3bf129ca3bc5b3c93d42 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 11 Jun 2008 04:09:37 +0000 Subject: If we have no agent then capability is no input and no output --- hcid/dbus-hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 94cbd18a..55db4c27 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -2467,7 +2467,7 @@ int hcid_dbus_get_io_cap(bdaddr_t *local, bdaddr_t *remote, if (!agent) { if (!(type & 0x01)) { - *cap = 0x01; + *cap = 0x03; return 0; } error("No agent available for IO capability"); -- cgit