Bluetooth: bfusb: Set the HCI_QUIRK_BROKEN_LOCAL_COMMANDS quirk
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 26 Dec 2014 03:42:32 +0000 (04:42 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 26 Dec 2014 18:16:12 +0000 (20:16 +0200)
The AVM BlueFritz! 1.0 USB dongles do not support the HCI command for
reading the local supported commands. So set this quirk to let the
core know about it.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/bfusb.c

index b2e7e94a67719945e9d9ef277aed9b694d3601d1..fcfb72e9e0ee5948bf7e4c73e8d1b056d0723dbf 100644 (file)
@@ -696,6 +696,8 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i
        hdev->flush = bfusb_flush;
        hdev->send  = bfusb_send_frame;
 
+       set_bit(HCI_QUIRK_BROKEN_LOCAL_COMMANDS, &hdev->quirks);
+
        if (hci_register_dev(hdev) < 0) {
                BT_ERR("Can't register HCI device");
                hci_free_dev(hdev);