Skip to content
Commit 790bd7c4 authored by Jordan Yates's avatar Jordan Yates Committed by Dan Kalowsky
Browse files

bluetooth: host: hci_core: add missing `NULL` check



Add check that the command buffer claimed in `bt_le_create_conn_cancel`
is not `NULL`. Fixes a fault caused by providing the `NULL` buffer to
`bt_hci_cmd_state_set_init`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent c2ad6633
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment