Bluetooth: Fix HCI init for BlueFRITZ! devices
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 23 Jul 2013 23:32:46 +0000 (02:32 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 29 Jul 2013 11:12:27 +0000 (12:12 +0100)
commit3f8e2d75c14660abc8b69206f30190ab93304379
tree9bc4f9e8f42ac77228044aac125c4aae18e234d3
parent1d5b569ef85d013a775560a90050dc630614c045
Bluetooth: Fix HCI init for BlueFRITZ! devices

None of the BlueFRITZ! devices with manufacurer ID 31 (AVM Berlin)
support HCI_Read_Local_Supported_Commands. It is safe to use the
manufacturer ID (instead of e.g. a USB ID specific quirk) because the
company never created any newer controllers.

< HCI Command: Read Local Supported Comm.. (0x04|0x0002) plen 0 [hci0] 0.210014
> HCI Event: Command Status (0x0f) plen 4 [hci0] 0.217361
      Read Local Supported Commands (0x04|0x0002) ncmd 1
        Status: Unknown HCI Command (0x01)

Reported-by: Jörg Esser <jackfritt@boh.de>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Tested-by: Jörg Esser <jackfritt@boh.de>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c