summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-20 23:23:33 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-20 23:23:33 +0000
commit41ed62a0cc0aef8359786e8dbb86c023fb52d1c7 (patch)
tree348501e0a708fc5124bba9269d2677d5ae388354
parenta0feeed071ed394220a67b46dd770761dfb36f47 (diff)
Reload services on reconnect
-rw-r--r--hcid/dbus-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c
index 893e7970..aabd58cd 100644
--- a/hcid/dbus-common.c
+++ b/hcid/dbus-common.c
@@ -263,6 +263,8 @@ static gboolean system_bus_reconnect(void *data)
if (hcid_dbus_init() < 0)
return TRUE;
+ init_services(CONFIGDIR);
+
/* Create and bind HCI socket */
sk = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if (sk < 0) {