Commit: 6d8260cf6cc1793e30b68150f18c551b64732513
Parent: ea072a6320be3916206de3897bfd5c84a120c669
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2018-03-06 09:45:32
Tree: 473ae18f91b423d88c97dd92ef98e18f99112620

device: Fix bearer selection with single mode controller If remote device is dual mode and advertises without "BR/EDR flag not supported" set than device is marked as supporting BR/EDR even if controller is doing LE only. This results in bluetoothd trying to connect over BR/EDR since this is prefered transport if none is connected. Fix this by checking if adapter supports specified technology before doing heuristic transport selection.

Diffstat

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

3 files changed, 10 insertions(+), 1 deletions(-)

View Full Diff | Patch