Skip to content

Conversation

jhedberg
Copy link
Member

@jhedberg jhedberg commented May 4, 2020

Backport of #24902

The last parameter to hci_cmd_done() is expected to be a valid net_buf
since the function immediately tries to dereference it. Fix this by
passing the appropriate buffer reference to the function.

Signed-off-by: Johan Hedberg <[email protected]>
@jhedberg jhedberg requested review from joerchan and Vudentz as code owners May 4, 2020 09:13
@jhedberg jhedberg requested review from carlescufi, ceolin and d3zd3z May 4, 2020 09:14
@jhedberg jhedberg added area: Bluetooth bug The issue is a bug, or the PR is fixing a bug labels May 4, 2020
@jhedberg jhedberg merged commit dbfc2eb into zephyrproject-rtos:v2.2-branch May 6, 2020
@jhedberg jhedberg deleted the backport_bt_null branch May 6, 2020 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants