Parent: 2daddeada069d38c6e98e4d28a7ecd6709909c21
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-08-29 23:12:25
Tree: 9eed03f543b381f806d420206de6693bff6dfa54
device: Fix Pair method not setting auto_connect Due to commit 507ba12483c3 ("profile: Remove probe_on_discover") disable_auto_connect may be set when a service is probed but the device is still temporary which is normally the result of service being discovered over advertisement rather than connection. To fix this the Device.Pair method needs to check if the disable_auto_connect flag has been set and then reset it set auto_connect which is similar to how Device.Connect works.
Diffstat
| M | src/device.c | | | 5 | +++++ |
1 files changed, 5 insertions(+), 0 deletions(-)