Bluetooth: btusb: enable Mediatek to support AOSP extension
authormark-yw.chen <mark-yw.chen@mediatek.com>
Thu, 4 Nov 2021 18:26:05 +0000 (02:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jan 2022 08:12:42 +0000 (09:12 +0100)
commit 28491d7ef4af471841e454f8c1f77384f93c6fef upstream.

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

Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bluetooth/btusb.c

index 44bc4e9..c837d93 100644 (file)
@@ -2843,6 +2843,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)",