Bluetooth: Use HCI_QUIRK_FIXUP_INQUIRY_MODE for Silicon Wave devices
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 3 Jan 2015 07:35:20 +0000 (23:35 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 3 Jan 2015 20:31:11 +0000 (22:31 +0200)
The Silicon Wave based devices do support Inquiry Result with RSSI and
so let the core know to enable them.

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

index 833881392ce1fa71cf683c1f9ff2aa8d6a724f14..1ea63518d130bca6a116820cd78508e7b69a4d61 100644 (file)
@@ -2084,8 +2084,10 @@ static int btusb_probe(struct usb_interface *intf,
        if (id->driver_info & BTUSB_MARVELL)
                hdev->set_bdaddr = btusb_set_bdaddr_marvell;
 
-       if (id->driver_info & BTUSB_SWAVE)
+       if (id->driver_info & BTUSB_SWAVE) {
+               set_bit(HCI_QUIRK_FIXUP_INQUIRY_MODE, &hdev->quirks);
                set_bit(HCI_QUIRK_BROKEN_LOCAL_COMMANDS, &hdev->quirks);
+       }
 
        if (id->driver_info & BTUSB_INTEL_BOOT)
                set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);