commit | 6d8260cf6cc1793e30b68150f18c551b64732513 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@codecoup.pl> | Mon Mar 05 17:16:35 2018 +0100 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Mar 06 09:45:32 2018 +0200 |
tree | 473ae18f91b423d88c97dd92ef98e18f99112620 | |
parent | ea072a6320be3916206de3897bfd5c84a120c669 [diff] |
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.