Hi, v2: Instead of introducing separate variable for controlling the BT behaviour, just set the disable callback to NULL before unregistering the Bluetoth driver. This effectively means that hci device is not powered off but PAN connections are still disconnected when ConnMan quits.
v1: This prevents non-PAN Bluetooth connections from being disconnected when ConnMan quits. PAN connections are disconnected normally. Cheers, Jukka Jukka Rissanen (3): device: Disable had too strict checks which can prevent disconnect bluetooth: Do not turn off hci device when ConnMan stops bluetooth-legacy: Do not turn off hci device when ConnMan stops plugins/bluetooth.c | 6 ++++++ plugins/bluetooth_legacy.c | 6 ++++++ src/device.c | 6 +++--- 3 files changed, 15 insertions(+), 3 deletions(-) -- 1.8.3.1 _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
