Skip to content

Commit

Permalink
Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mark-yw.chen authored and Marcel Holtmann committed Aug 2, 2021
1 parent f4292e2 commit 654e6f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit 654e6f7

Please sign in to comment.