diff options
author | mark-yw.chen <mark-yw.chen@mediatek.com> | 2021-08-02 15:59:41 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-08-02 18:03:14 +0300 |
commit | 654e6f7700c46017af309aab594f0afdebc30740 (patch) | |
tree | 5a91ac6922a08a5d8c12b767c1937e5a991924a2 /drivers/bluetooth/btusb.c | |
parent | f4292e2faf522f899b642d2040a2edbcbd455b9f (diff) | |
download | linux-654e6f7700c46017af309aab594f0afdebc30740.tar.xz |
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>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r-- | drivers/bluetooth/btusb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index fec798dadd99..b1a05bb9f4bf 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -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)", |