policy: Add AutoEnable config option

System Internals / BlueZ - Szymon Janc [gmail.com] - 28 September 2015 06:27 UTC

This option is used to configure policy for auto enabling adapters when found. This includes adapters found on start as well as adapters that are plugged in later on.

Some distributions use legacy "hciconfig hci0 up" in boot-scripts to automatically enable controllers on start. But that is causing SMP kernel code to not being properly initialized.

This patch allows distributions to automatically enable adapters in race free manner even if no agent is provided eg. in login screen.

40bb318 policy: Add AutoEnable config option
plugins/policy.c | 29 +++++++++++++++++++++++++++--
src/main.conf | 5 +++++
2 files changed, 32 insertions(+), 2 deletions(-)

Upstream: git.kernel.org


  • Share