diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-06 12:33:49 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-06 12:33:49 +0000 |
commit | c2d5b70279ed861f01481c4e50f8dd2db3d94c2e (patch) | |
tree | 607e8b885adb5d521faa6d1d4848a65d8111c215 /hcid | |
parent | 833b95efc8bda83851624b203991db196282335c (diff) |
Add some extra debug prints
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-hci.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 8c93a883..9925b0f2 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -946,6 +946,8 @@ void hcid_dbus_new_auth_request(bdaddr_t *sba, bdaddr_t *dba, auth_type_t type) return; } + debug("hcid_dbus_new_auth_request"); + info = g_new0(struct pending_auth_info, 1); bacpy(&info->bdaddr, dba); @@ -1188,8 +1190,10 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, adapter->path, peer); l = g_slist_find_custom(adapter->pin_reqs, peer, pin_req_cmp); - if (!l) + if (!l) { + debug("hcid_dbus_bonding_process_complete: no pending PIN request"); goto proceed; + } d = l->data; adapter->pin_reqs = g_slist_remove(adapter->pin_reqs, l->data); |