From 41ed62a0cc0aef8359786e8dbb86c023fb52d1c7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 20 Jan 2007 23:23:33 +0000 Subject: Reload services on reconnect --- hcid/dbus-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hcid/dbus-common.c') 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) { -- cgit