diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-27 10:38:17 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-27 10:38:17 +0000 |
commit | 71aaf58c77b00f192a2903a4e43b35a88869782b (patch) | |
tree | e31b56d7f701de0e6c7afad4c94b1c0e04c918d7 /network/manager.c | |
parent | 40ebcf393b790a4e6553e1314b29f0f34b3377a3 (diff) |
The service must start even without any adapters attached
Diffstat (limited to 'network/manager.c')
-rw-r--r-- | network/manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/network/manager.c b/network/manager.c index 60471429..a8b9974f 100644 --- a/network/manager.c +++ b/network/manager.c @@ -339,7 +339,9 @@ int network_dbus_init(void) { struct manager *mgr; bdaddr_t src; +#if 0 int dev_id; +#endif dbus_connection_set_exit_on_disconnect(connection, TRUE); @@ -356,6 +358,7 @@ int network_dbus_init(void) /* 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"); @@ -366,6 +369,7 @@ int network_dbus_init(void) error("Can't get local adapter device info"); goto fail; } +#endif bacpy(&mgr->src, &src); |