]> 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)
commitdbbc8540bdb9707565c47c3f7f8b533e1e12d74d
tree9ff9ce8ee1bb050ac6072f2b23995dfc61faf544
parent07a50860223c6cd69da486815c78d38e0565b4ac
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