This changes the default of AutoEnable to true so controllers are power
up by default.
Fixes: https://github.com/bluez/bluez/issues/328
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
}
auto_enable = g_key_file_get_boolean(conf, "Policy", "AutoEnable",
- NULL);
+ &gerr);
+ if (gerr) {
+ g_clear_error(&gerr);
+ auto_enable = true;
+ }
resume_delay = g_key_file_get_integer(
conf, "Policy", "ResumeDelay", &gerr);
# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
-# in later on. Defaults to 'false'.
-#AutoEnable=false
+# in later on. Defaults to 'true'.
+#AutoEnable=true
# Audio devices that were disconnected due to suspend will be reconnected on
# resume. ResumeDelay determines the delay between when the controller