Set device powered when bluetooth adapters are powered
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Feb 2010 19:44:37 +0000 (20:44 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Feb 2010 04:34:15 +0000 (05:34 +0100)
commitb66394fcbc820c4047753904bc4096c09b37ed7f
tree0f1360e7c9ca0169ad69a06703fe5367fecd328b
parentb7d93813b4f141ff26356f305f2c0881f7d20cf0
Set device powered when bluetooth adapters are powered

When a bluetooth adapters are added, we go through adapter_properties_reply(),
but we dont call connman_device_set_powered() or check_networks() because the
powered variable is false.

We should get the adapter properties upon getting the powered D-Bus reply
message and that will end up calling the right functions.
plugins/bluetooth.c