summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btrtl.c
diff options
context:
space:
mode:
authorJoseph Hwang <josephsih@chromium.org>2021-09-26 10:07:48 +0300
committerMarcel Holtmann <marcel@holtmann.org>2021-09-28 14:08:26 +0300
commit099c6d31764b97d585145339077821d39fa8fcb3 (patch)
tree3474b7935a35c999e3a9ec997530714c8abc9fe2 /drivers/bluetooth/btrtl.c
parent34af56e8ad3a628de108cb5221c44ebffa001f97 (diff)
downloadlinux-099c6d31764b97d585145339077821d39fa8fcb3.tar.xz
Bluetooth: btrtl: enable Realtek 8822C/8852A to support AOSP extension
This patch enables Realtek 8822C and 8852A to support the AOSP extension. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Signed-off-by: Joseph Hwang <josephsih@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btrtl.c')
-rw-r--r--drivers/bluetooth/btrtl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 1f8afa0244d8..5a1090b7c69a 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -746,6 +746,7 @@ void btrtl_set_quirks(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev)
case CHIP_ID_8852A:
set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks);
+ hci_set_aosp_capable(hdev);
break;
default:
rtl_dev_dbg(hdev, "Central-peripheral role not enabled.");