zephyr/subsys/bluetooth
Aleksander Wasaznik ae9380d996 Bluetooth: Host: L2CAP: Don't send credits if chan is disconnected
Fixes bug where Host sends L2CAP Flow Control Credit after receiving a
L2CAP Disconnect Response.

The when the callback in l2cap_chan_le_recv_sdu is handed a Disconnect
Reponse, the connnection becomes disconnected, as illustrated by the
asserts. The function should now trigger sending credits if the
connection is disconnected after the callback returns.

Fixes #42112

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2022-02-09 13:22:47 +01:00
..
audio Bluetooth: Audio: Add BT_WARN for missing stream callbacks 2022-01-27 12:01:34 +02:00
common Bluetooth: Host: Non-discardable event buffer size is 255 for ext adv 2022-02-07 17:22:13 +01:00
controller Bluetooth: Controller: Fix Periodic Sync lost implementation 2022-02-09 11:02:37 +01:00
host Bluetooth: Host: L2CAP: Don't send credits if chan is disconnected 2022-02-09 13:22:47 +01:00
mesh kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
services bluetooth: ots: directory listing record length 2022-02-04 11:15:37 +01:00
shell Bluetooth: shell: Add LE Audio shell commands 2022-01-27 12:01:34 +02:00
CMakeLists.txt drivers: bluetooth: build as static library 2021-08-17 06:06:03 -04:00
Kconfig bluetooth: correct kconfig help 2021-12-21 18:19:24 +01:00
Kconfig.adv kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.iso kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00