Bring bluetooth interfaces up at startup
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Feb 2010 19:44:36 +0000 (20:44 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Feb 2010 04:33:55 +0000 (05:33 +0100)
commitb7d93813b4f141ff26356f305f2c0881f7d20cf0
tree7413cda8fd5b8b9c70b8a31ffae5fa6ec0bb6478
parent648d5be5ee5830b3b056c78b86c34899f411c47c
Bring bluetooth interfaces up at startup

With the current code we're powering up the bluetooth devices through
change_powered, which gets indirectly called from connman_device_register()
through adapter_properties_reply(). Since we're calling
connman_device_register() withouth setting the device path, change_powered
actually does nothing. We have to set the device path before calling
connman_device_register() and then the bluetooth devices will actually be
powered up.
plugins/bluetooth.c