Bluetooth: btusb: Set manufacturer for Intel bootloader devices
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Oct 2015 23:31:45 +0000 (01:31 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 21 Oct 2015 04:32:12 +0000 (07:32 +0300)
For Intel bootloader devices, set the manufacturer information so that
it becomes possible to decode the boot process.

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

index bbe25e397f41dac2e4dea4cb1689eb8856d6ba85..19961763015acfeda6b034397a1a55712aa4447b 100644 (file)
@@ -2931,8 +2931,10 @@ static int btusb_probe(struct usb_interface *intf,
                set_bit(HCI_QUIRK_BROKEN_LOCAL_COMMANDS, &hdev->quirks);
        }
 
-       if (id->driver_info & BTUSB_INTEL_BOOT)
+       if (id->driver_info & BTUSB_INTEL_BOOT) {
+               hdev->manufacturer = 2;
                set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
+       }
 
        if (id->driver_info & BTUSB_ATH3012) {
                hdev->set_bdaddr = btusb_set_bdaddr_ath3012;