zephyr/subsys/bluetooth/host
Fredrik Danebjer 379eb7a0ff bluetooth: host: Fix premature semaphore giving
There was a semaphore in hci_core which was given to early when
receiving the BT_HCI_EVT_NUM_COMPLETED_PACKETS message from the
controller. This would sometimes cause an assert to happen in
function hci_num_completed_packets, where there would arise a
mismatch in the bookkept count, and actually stored nodes. More
concretely, due to premature semaphore giveing, the tx_pending node
would be have been removed in another context before it could be
fetched and moved to complete list in this function.

Signed-off-by: Fredrik Danebjer <frdn@demant.com>
2025-05-01 09:34:28 +02:00
..
classic Bluetooth: classic: shell: Support L2CAP channel seg_recv 2025-04-30 14:00:06 +02:00
shell Bluetooth: Shell: Add missing includes for all BT host shell files 2025-04-17 21:17:29 +02:00
addr_internal.h
addr.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
adv.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
adv.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
aes_ccm.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
att_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
att.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
buf_view.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
buf.c Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
CMakeLists.txt Bluetooth: Host: Remove HCI ECC emulation 2025-01-23 10:14:46 +01:00
conn_internal.h Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
conn.c Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
crypto_psa.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
crypto.h bluetooth: host/crypto: fix the psa crypto init for host 2025-02-10 14:33:24 +01:00
cs.c bluetooth: host: Fix param_len for LE CS Test command 2025-04-29 16:49:10 +02:00
data.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
direction_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
direction.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
ecc.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
ecc.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
gatt_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
gatt.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_common.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_core.c bluetooth: host: Fix premature semaphore giving 2025-05-01 09:34:28 +02:00
hci_core.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
hci_raw_internal.h Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_raw.c Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
id.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
id.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
iso_internal.h Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
iso.c Bluetooth: ISO: fix hci_le_set_cig_params validation 2025-04-30 23:03:07 +02:00
Kconfig Bluetooth: Kconfig: Remove outdated references to bt_recv_prio() 2025-04-29 16:51:04 +02:00
Kconfig.gatt bluetooth: host: fix GATT writable Kconfig descriptions 2025-03-28 08:50:05 +01:00
Kconfig.l2cap Bluetooth: Tester: Use BT_L2CAP_SEG_RECV for L2CAP tests 2024-11-27 08:16:18 +01:00
keys.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
keys.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
l2cap_internal.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
l2cap.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
long_wq.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
long_wq.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
monitor.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
monitor.h Bluetooth: HCI: Use H:4 encoding for buffers 2025-04-29 13:00:33 +02:00
scan.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
scan.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
settings.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
settings.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
smp_null.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
smp.c bluetooth: classic: smp: fix the wrong Responder Key Distribution 2025-04-23 10:04:23 +02:00
smp.h Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00
uuid.c Bluetooth: Host: Add missing includes for all BT host files 2025-04-17 21:17:29 +02:00