]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: MGMT: Fix LE simultaneous roles UUID if not supported
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 22 Dec 2021 20:22:00 +0000 (12:22 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Dec 2021 22:01:35 +0000 (23:01 +0100)
commitac7f0a0974f85142b1ab484d37dc27955542464d
tree9ff9ce8ee1bb050ac6072f2b23995dfc61faf544
parent68bfc4217f98518f6617d115ae1ad7ccb6131135
Bluetooth: MGMT: Fix LE simultaneous roles UUID if not supported

If controller/driver don't support LE simultaneous roles its UUID shall
be omitted when responding to MGMT_OP_READ_EXP_FEATURES_INFO.

This also rework the support introducing HCI_LE_SIMULTANEOUS_ROLES flag
so it can be detected when userspace wants to use or not.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_sync.c
net/bluetooth/mgmt.c