[PATCH] Bluetooth: btusb: enable Mediatek to support AOSP extension

From: mark-yw.chen
Date: Thu Nov 04 2021 - 14:26:15 EST


From: "mark-yw.chen" <mark-yw.chen@xxxxxxxxxxxx>

This patch enables AOSP extension for Mediatek Chip (MT7921 & MT7922).

Signed-off-by: mark-yw.chen <mark-yw.chen@xxxxxxxxxxxx>
---
drivers/bluetooth/btusb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 46d892bbde62..30a057e1d4e3 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -2565,6 +2565,7 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
}

hci_set_msft_opcode(hdev, 0xFD30);
+ hci_set_aosp_capable(hdev);
goto done;
default:
bt_dev_err(hdev, "Unsupported hardware variant (%08x)",
--
2.18.0