mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 09:55:22 +00:00
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> |
||
---|---|---|
arch | ||
config | ||
drivers | ||
host | ||
include | ||
kernel | ||
lib/libc/minimal | ||
make | ||
misc | ||
net | ||
samples | ||
scripts | ||
shared/include/nanokernel/x86 | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
vxmicro-env.bash |