]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Nov 2021 15:16:23 +0000 (16:16 +0100)
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>
drivers/bluetooth/btusb.c

index 46d892bbde6216d988d5306678d9cf290a2e706b..30a057e1d4e3ab88aef192a3f6470ba3154dae5d 100644 (file)
@@ -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)",