summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-08-22 10:44:49 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-08-22 10:44:49 +0000
commit19d00ec64821c58447e1bb1110cadb2b0d43092c (patch)
tree45b129c77e877c5e802fdb43bddfce187f4a3270 /hcid/dbus.c
parent1ae4a800cdffe7349c92f11c577958642ead7de7 (diff)
Improve error reporting for failed HCI commands
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r--hcid/dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 089dc232..a73bd823 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -1346,7 +1346,8 @@ void hcid_dbus_conn_complete(bdaddr_t *local, uint8_t status, uint16_t handle, b
}
if (rp.status) {
- error("Failed with status 0x%02x", rp.status);
+ error("HCI_Authentication_Requested failed with status 0x%02x",
+ rp.status);
error_failed(connection, pdata->bonding->rq, bt_error(rp.status));
goto bonding_failed;
}