From 9691f47c9f858b4ae512e6d3b78bd1bb398bec06 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Mar 2007 10:40:42 +0000 Subject: Service must start even if there is no adapter available --- input/manager.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'input') diff --git a/input/manager.c b/input/manager.c index a4269df3..7a8ce746 100644 --- a/input/manager.c +++ b/input/manager.c @@ -834,7 +834,9 @@ int input_init(DBusConnection *conn) { struct manager *mgr; bdaddr_t src; +#if 0 int dev_id; +#endif connection = dbus_connection_ref(conn); @@ -853,6 +855,7 @@ int input_init(DBusConnection *conn) /* Set the default adapter */ bacpy(&src, BDADDR_ANY); +#if 0 dev_id = hci_get_route(&src); if (dev_id < 0) { error("Bluetooth device not available"); @@ -863,6 +866,7 @@ int input_init(DBusConnection *conn) error("Can't get local adapter device info"); goto fail; } +#endif bacpy(&mgr->src, &src); /* Register well known HID devices */ -- cgit