Bluetooth: btbcm: Send HCI Reset before sending Apple specific commands
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 3 Oct 2015 10:01:08 +0000 (12:01 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 5 Oct 2015 07:28:41 +0000 (10:28 +0300)
commitb224d3ff717cc3af91a4ec74d863a176d79331af
tree6df254b6111d244d4ea5d0041238100dad03c727
parentd06f107bcd828a6c3ecd4a7d449d5d0c0dba0326
Bluetooth: btbcm: Send HCI Reset before sending Apple specific commands

The commit 7bee8b08c428 allows the Read Verbose Config Info to fail
gracefully and not cause the controller setup to abort. It seems the
reason that command failed in the first place was the missing HCI Reset
to bring the controller in full Bluetooth mode.

Apple Bluetooth controllers start out in HID mode and when in that mode
the Read Verbose Config Info command is not allowed. Sending HCI Reset
switches the controller into full HCI mode.

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