summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-20 19:59:38 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-20 19:59:38 +0000
commit43f70678ca8847c32c122be4deb19f5c0285af2c (patch)
tree2ec68d4738655b7843f3fe4b234723ba9d561267 /hcid/security.c
parent76435ed8bf033567c510e7ba9a18e39c1729534a (diff)
Added D-Bus signals: RemoteDeviceConnected and RemoteDeviceDisconnected
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/hcid/security.c b/hcid/security.c
index f42738a5..ba1fb0a1 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -478,14 +478,8 @@ static inline void conn_complete(int dev, bdaddr_t *sba, void *ptr)
static inline void disconn_complete(int dev, bdaddr_t *sba, void *ptr)
{
evt_disconn_complete *evt = ptr;
- bdaddr_t dba;
-
- if (evt->status)
- return;
-
- bacpy(&dba, BDADDR_ANY);
- hcid_dbus_disconn_complete(sba, &dba, evt->reason);
+ hcid_dbus_disconn_complete(sba, evt->status, evt->handle, evt->reason);
}
static inline void auth_complete(int dev, bdaddr_t *sba, void *ptr)