Commit: 036583f9bbec8540fbd85b980674aad4916d3093
Parent: b8b4083c179e93e1a0ee1c3f784313a3f60ad6fe
Author: Dimitris <dimitris.on.linux@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-04-04 21:41:33
Tree: 31aadb2cf202b56e7db78fc00c8867c8af19efe2

device: Add btd_device_bearer_is_connected This adds btd_device_bearer_is_connected and use it when testing if device needs to be disconnected. Fixes: https://github.com/bluez/bluez/issues/785

Diffstat

M src/adapter.c | 2 +-
M src/device.c | 7 ++++++-
M src/device.h | 1 +

3 files changed, 8 insertions(+), 2 deletions(-)

View Full Diff | Patch