Bluetooth: Fix AMP init for certain AMP controllers
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Feb 2015 13:05:21 +0000 (15:05 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Feb 2015 17:52:39 +0000 (18:52 +0100)
commit0af801b9bf34e3eb9f86a210e9928d42922f6631
tree41f97e73ed67162099992ed2aed334334fad209c
parent315917e0a6d552a33f774935d8897ec1697605dd
Bluetooth: Fix AMP init for certain AMP controllers

Some AMP controllers do not support the Read Local Features HCI commands
(even though according to the spec they should). Luckily they at least
correctly omit this from the supported commands bitmask, so we can work
around the issue by creating a second AMP init phase and issuing the HCI
command conditionally there.

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