diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-11 04:09:37 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-11 04:09:37 +0000 |
commit | 040982cf058f2639ad9f3bf129ca3bc5b3c93d42 (patch) | |
tree | d9f556f7169e6fad2e05157b42532893366e07b0 | |
parent | 3c6856c212c6696eee02deae50788b102db8cf4d (diff) |
If we have no agent then capability is no input and no output
-rw-r--r-- | hcid/dbus-hci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |