mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
policy: Change AutoEnable default to true
This changes the default of AutoEnable to true so controllers are power up by default. Fixes: https://github.com/bluez/bluez/issues/328
This commit is contained in:
parent
777bc7c3f5
commit
180cf09933
@ -892,7 +892,11 @@ static int policy_init(void)
|
||||
}
|
||||
|
||||
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);
|
||||
|
@ -276,8 +276,8 @@
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user