When we create bluetooth device, the device name is Bluetooth and we
load the powered value according to this name. But we changed it to
a new name and save the powerer value under that name, this will lead
bluetooth always enabled after reboot
---
 plugins/bluetooth.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index cdb20ff..03374a8 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -687,7 +687,6 @@ static void adapter_properties_reply(DBusPendingCall *call, 
void *user_data)
 
 update:
        connman_device_set_string(device, "Address", address);
-       connman_device_set_string(device, "Name", name);
        connman_device_set_string(device, "Path", path);
 
        connman_device_set_powered(device, powered);
-- 
1.7.2.2

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to