zephyr/subsys/bluetooth
Johan Hedberg a6e5755da8 Bluetooth: Fix clearing sent_cmd pointer when allocating event buffer
We should clear the bt_dev.sent_cmd pointer after using it to allocate a
new HCI event buffer in the bt_buf_get_cmd_complete() function.
Otherwise, there is a risk of reusing the same stored net_buf for
multiple consecutive HCI events in case the controller sents duplicate
or invalid event packets.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-04-11 16:57:37 +02:00
..
audio Bluetooth: Audio: Shell: BAP scan delegator term sync cmd 2023-04-11 11:26:28 +02:00
common Bluetooth: Logging: Remove BT_DEBUG 2023-03-30 10:40:01 +00:00
controller sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
crypto Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
host Bluetooth: Fix clearing sent_cmd pointer when allocating event buffer 2023-04-11 16:57:37 +02:00
lib Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
mesh sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
services sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
shell Bluetooth: shell: Guard adv_opt with CONFIG_BT_BROADCASTER 2023-04-06 15:37:30 +02:00
CMakeLists.txt Bluetooth: Host: Add Encrypted Advertising Data 2023-03-21 13:39:09 +02:00
Kconfig Bluetooth: Add missing dependency for PAST feature 2023-04-04 14:31:17 +02:00
Kconfig.adv
Kconfig.iso Bluetooth: ISO: Fix BT_ISO_TX_MTU range 2023-03-03 09:19:19 +01:00
Kconfig.logging Bluetooth: logging: don't imply LOG_FUNC_NAME_PREFIX_* 2023-04-08 12:34:07 +02:00