diff options
author | 2020-02-27 18:29:39 +0000 | |
---|---|---|
committer | 2020-02-28 08:53:05 +0100 | |
commit | 4b127bd5f2cc1b2da041f472dab6dc729cdd4711 (patch) | |
tree | 11e123076c76f261a501b3f8d6ea851d2c45de63 /drivers/bluetooth | |
parent | Bluetooth: btusb: Add flag to define wideband speech capability (diff) | |
download | linux-4b127bd5f2cc1b2da041f472dab6dc729cdd4711.tar.gz linux-4b127bd5f2cc1b2da041f472dab6dc729cdd4711.tar.bz2 linux-4b127bd5f2cc1b2da041f472dab6dc729cdd4711.zip |
Bluetooth: Support querying for WBS support through MGMT
This patch provides a mechanism for MGMT interface client to query the
capability of the controller to support WBS.
Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btusb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index b34a71716fe1..48e78fdc8e83 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -3867,6 +3867,9 @@ static int btusb_probe(struct usb_interface *intf, if (id->driver_info & BTUSB_BROKEN_ISOC) data->isoc = NULL; + if (id->driver_info & BTUSB_WIDEBAND_SPEECH) + set_bit(HCI_QUIRK_WIDE_BAND_SPEECH_SUPPORTED, &hdev->quirks); + if (id->driver_info & BTUSB_DIGIANSWER) { data->cmdreq_type = USB_TYPE_VENDOR; set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); |