Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)

The Mdiatek MT7921(7961) support MSFT HCI extensions, we are using
0xFD30 for VsMsftOpCode.

Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
mark-yw.chen 2021-08-02 20:59:41 +08:00 committed by Marcel Holtmann
parent f4292e2faf
commit 654e6f7700

View File

@ -3775,6 +3775,8 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
bt_dev_err(hdev, "Failed to send wmt func ctrl (%d)", err);
return err;
}
hci_set_msft_opcode(hdev, 0xFD30);
goto done;
default:
bt_dev_err(hdev, "Unsupported hardware variant (%08x)",