diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-27 10:40:42 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-27 10:40:42 +0000 |
commit | 9691f47c9f858b4ae512e6d3b78bd1bb398bec06 (patch) | |
tree | 937530b90bb3f44ce87e321011bbc2a1bc44b3e6 /input/manager.c | |
parent | 71aaf58c77b00f192a2903a4e43b35a88869782b (diff) |
Service must start even if there is no adapter available
Diffstat (limited to 'input/manager.c')
-rw-r--r-- | input/manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |