Go to file
Johan Hedberg 23eeac2c8d Bluetooth: Process HCI init return parameters synchronously
We only perform the HCI init from a single place, so having generic
command complete handlers is a bit pointless. Furthermore, doing the
commands asynchronously doesn't let us catch all errors that may
occur. This patch converts most of the HCI init sequence to use the
new capabilities of the bt_hci_cmd_send_sync() API to parse the return
parameters synchronously.

Since the command handling automatically converts non-zero statuses to
failures we no-longer need to check for the rp->status values in the
response handlers.

Change-Id: Ibb43312cac596b60ab87d88e37a9ae7ee2588182
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:50 -05:00
arch Remove remaining references to NLI 2016-02-05 20:13:48 -05:00
config Remove NLI related kconfig options from BSPs 2016-02-05 20:13:48 -05:00
drivers Bluetooth: Add Bluetooth UART driver specific debug support 2016-02-05 20:13:50 -05:00
host Fix checkpatch issue - WARNING:LINE_SPACING 2016-02-05 20:13:39 -05:00
include Bluetooth: Add return parameter support to bt_hci_cmd_send_sync() 2016-02-05 20:13:50 -05:00
kernel Allow microkernel timer code to support tickless kernel 2016-02-05 20:13:49 -05:00
lib/libc/minimal build: Always enable section garbage collection flags 2016-02-05 20:13:48 -05:00
make Bluetooth: Add Bluetooth HCI core specific debug support 2016-02-05 20:13:50 -05:00
misc Remove inclusion of unused header files 2016-02-05 20:13:41 -05:00
net Bluetooth: Process HCI init return parameters synchronously 2016-02-05 20:13:50 -05:00
samples Bluetooth: Enable HCI_CORE debug for samples 2016-02-05 20:13:50 -05:00
scripts Bluetooth: Add compile test to sanity_check 2016-02-05 20:13:50 -05:00
shared/include/nanokernel/x86 Fix checkpatch issue - ERROR:POINTER_LOCATION 2016-02-05 20:13:39 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore Add more host utils to .gitignore 2016-02-05 20:13:45 -05:00
.mailmap First commit 2015-04-10 16:44:37 -07:00
vxmicro-env.bash Remove reference to CodeSourcery 2016-02-05 20:13:41 -05:00