Skip to content
Commit ce2d74a5 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: Fix incorrect checks for command buffer user data



If the buffer given to hci_cmd_done() is not from the command buffer
then using the cmd(buf) macro is not valid. Simply bail out from
hci_cmd_done() if this is an event that didn't have a matching command
buffer.

Change-Id: Id8357a23a307f4ef3a9214a4e1f7d853a18cb907
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 5b80603d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment