OSDN Git Service

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)
commit220915857e29795ae5ba4222806268b4a99c19c1
tree2b20fc21d46a64b1c420a69827482f6877ac4969
parentc03ee9af4e07112bd3fc688daca9e654f41eca93
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