Bluetooth: Add initial support for LE-only controllers
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 19 Oct 2012 17:57:45 +0000 (20:57 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 13:11:04 +0000 (11:11 -0200)
commite1171e8d9c50c38a9adba72bb23949d9b975335c
treeba32884946ac9cad44ebee3664e0da89d09301df
parent2ad8f54bc86809c2a8de3830e3ed275fcc6401ed
Bluetooth: Add initial support for LE-only controllers

This patch splits off most the HCI init sequence commands from a fixed
set into a conditional one that is sent once the HCI_Read_Local_Features
and HCI_Read_Local_Version_Information commands complete. This is
necessary since many of the current fixed commands are not allowed for
LE-only controllers.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c