diff options
Diffstat (limited to 'hcid/dbus-hci.c')
-rw-r--r-- | hcid/dbus-hci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index b71d9773..f57d65bc 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -2498,6 +2498,8 @@ static uint8_t get_auth_type(bdaddr_t *local, bdaddr_t *remote) req.type = 0xff; err = ioctl(dd, HCIGETAUTHINFO, (unsigned long) &req); + if (err < 0) + debug("HCIGETAUTHINFO failed (%d)", errno); hci_close_dev(dd); |