Bluetooth: btrtl: Enable central-peripheral role
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Tue, 22 Dec 2020 18:16:27 +0000 (10:16 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 22 Dec 2020 18:53:33 +0000 (19:53 +0100)
commit05672a2c14a4ea20b7e31a1d8d847292c2b60c10
treef83af5b409dd6e82b8b34c1606ad621d395a74f0
parentd84fc2c9dceffe650d7bf5e42c2f3fc11709eb47
Bluetooth: btrtl: Enable central-peripheral role

Enable the central-peripheral role on RTL8822CE. This enables creating
connections while there is an existing connection in the slave role.

This change can be confirmed in userspace via `bluetoothctl show` which
will now show "Roles: central-peripheral".

Reviewed-by: Daniel Winkler <danielwinkler@google.com>
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrtl.c