diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-24 17:38:46 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-24 17:55:16 -0700 |
commit | ea4268b7067bf3c8588f1ec54b0add9a0f49f385 (patch) | |
tree | a5a9a4222e31906fef3ee08d91fce7e09569240c | |
parent | 1f100851bef2e19df94620b967b77c2502d474b7 (diff) |
Remove old code of CreateBonding.
-rw-r--r-- | src/dbus-hci.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 007f0936..7261deaa 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -565,13 +565,7 @@ proceed: goto cleanup; } - /* reply authentication success or an error */ - if (dbus_message_is_method_call(bonding->msg, ADAPTER_INTERFACE, - "CreateBonding")) { - reply = new_authentication_return(bonding->msg, status); - dbus_connection_send(connection, reply, NULL); - dbus_message_unref(reply); - } else if ((device = adapter_find_device(adapter, paddr))) { + if ((device = adapter_find_device(adapter, paddr))) { if (status) { reply = new_authentication_return(bonding->msg, status); dbus_connection_send(connection, reply, NULL); @@ -1114,7 +1108,7 @@ void hcid_dbus_disconn_complete(bdaddr_t *local, uint8_t status, adapter_remove_auth_request(adapter, &dev->bdaddr); bonding = adapter_get_bonding_info(adapter); - /* Check if there is a pending CreateBonding request */ + /* Check if there is a pending Bonding request */ if (bonding && (bacmp(&bonding->bdaddr, &dev->bdaddr) == 0)) { if (bonding->cancel) { /* reply authentication canceled */ |