summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-16 22:47:01 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-16 22:47:01 +0000
commitad51f992f0c529a928edad39a045864a02e641af (patch)
treee7a76bbed664bca8e2f4e4a6c6ff0316cd396de9 /hcid/security.c
parent4a77b36ae82117567bd7045693a45b139055557b (diff)
Initial create bonding service
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/security.c b/hcid/security.c
index f3c03ef2..f42738a5 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -465,14 +465,14 @@ static inline void conn_complete(int dev, bdaddr_t *sba, void *ptr)
{
evt_conn_complete *evt = ptr;
+ hcid_dbus_conn_complete(sba, evt->status, evt->handle, &evt->bdaddr);
+
if (evt->status)
return;
update_lastused(sba, &evt->bdaddr);
name_resolve(dev, &evt->bdaddr);
-
- hcid_dbus_conn_complete(sba, &evt->bdaddr);
}
static inline void disconn_complete(int dev, bdaddr_t *sba, void *ptr)