]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Adding driver and quirk defs for multi-role LE
authorAlain Michaud <alainm@chromium.org>
Thu, 23 Apr 2020 14:43:27 +0000 (14:43 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Apr 2020 09:49:01 +0000 (11:49 +0200)
commit59d98c1d13b430efb02b3f4df2db32213e4b945f
tree2b20fc21d46a64b1c420a69827482f6877ac4969
parente3ef8c4f8b856be6c8eac8d88e0869ffdae78c57
Bluetooth: Adding driver and quirk defs for multi-role LE

This change adds the relevant driver and quirk to allow drivers to
report the le_states as being trustworthy.

This has historically been disabled as controllers did not reliably
support this. In particular, this will be used to relax this condition
for controllers that have been well tested and reliable.

/* Most controller will fail if we try to create new connections
 * while we have an existing one in slave role.
 */
if (hdev->conn_hash.le_num_slave > 0)
return NULL;

Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c
include/net/bluetooth/hci.h