Parent: d081375efc2a1425aab052472048472a4736ff61
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-08-19 02:50:40
Tree: 0da79954a58f66b6eae76a4e8f71def4c48c0819
device: Don't browse SDP if HIDSDPDisable is set According to the HID1.1 spec, part 5.3.4.9: The HIDSDPDisable attribute is a Boolean value, which indicates whether connection to the SDP channel and Control or Interrupt channels are mutually exclusive. This feature supports Bluetooth HID devices that have minimal resources, and multiplex those resources between servicing the initialization (SDP) and runtime (Control and Interrupt) channels. However, Bluez still tries to connect SDP upon HID connection, regardless of the existence of the HIDSDPDisable attribute. This patch prevents the connection of SDP after HID has been established, if the device has HIDSDPDisable attribute.
Diffstat
| M | profiles/input/device.c | | | 3 | +++ |
| M | src/device.c | | | 11 | +++++++++- - |
| M | src/device.h | | | 1 | + |
3 files changed, 13 insertions(+), 2 deletions(-)