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)
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

Simple merge