From: Michael Sun Date: Thu, 29 Jul 2021 17:10:59 +0000 (-0700) Subject: Bluetooth: btusb: Enable MSFT extension for WCN6855 controller X-Git-Tag: libata-5.15-2021-09-05~51^2~161^2~39 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cbe6a0441315dfc0d6db62da3904d5f6d5747fab;p=linux-2.6-block.git Bluetooth: btusb: Enable MSFT extension for WCN6855 controller The Qualcomm WCN6855 Bluetooth controller supports the Microsoft vendor extension, enable them by setting VsMsftOpCode to 0xFD70. Verified on a WCN6855 device through bluetoothctl show Signed-off-by: Michael Sun Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index b563226b7f4f..ab83ecc99920 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -4732,6 +4732,7 @@ static int btusb_probe(struct usb_interface *intf, hdev->set_bdaddr = btusb_set_bdaddr_wcn6855; hdev->cmd_timeout = btusb_qca_cmd_timeout; set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks); + hci_set_msft_opcode(hdev, 0xFD70); } if (id->driver_info & BTUSB_AMP) {