diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-hci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 65b28da0..3a25abfc 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1829,7 +1829,8 @@ int hcid_dbus_get_io_cap(bdaddr_t *local, bdaddr_t *remote, agent = adapter->agent; if (!agent) { - if (!(*auth & 0x01)) { + if (device_get_auth(device) == 0x00 || + device_get_auth(device) == 0x01) { /* No input, no output */ *cap = 0x03; return 0; |