Skip to content

Conversation

jori-nordic
Copy link
Contributor

@jori-nordic jori-nordic commented Aug 9, 2024

The struct bt_l2cap_le_chan and struct bt_l2cap_br_chan objects should be memset before passing them to the stack.

This was not stated anywhere, but all the in-tree users are doing it, so it must be API.

#docfix
Fixes #76737

The `struct bt_l2cap_le_chan` and `struct bt_l2cap_br_chan` objects
should be memset before passing them to the stack.

This was not stated anywhere, but all the in-tree users are doing it, so
it must be API.

Signed-off-by: Jonathan Rico <[email protected]>
@zephyrbot zephyrbot added area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth labels Aug 9, 2024
@zephyrbot zephyrbot requested review from Thalley and theob-pro August 9, 2024 13:53
@jori-nordic jori-nordic added the bug The issue is a bug, or the PR is fixing a bug label Aug 9, 2024
@jhedberg jhedberg added this to the v3.7.1 milestone Aug 9, 2024
@jori-nordic
Copy link
Contributor Author

related #76935

@jori-nordic
Copy link
Contributor Author

added this to the v3.7.1 milestone

@jhedberg Do I need to add a backport label or something?

@jhedberg jhedberg added the backport v3.7-branch Request backport to the v3.7-branch label Aug 13, 2024
@jhedberg
Copy link
Member

added this to the v3.7.1 milestone

@jhedberg Do I need to add a backport label or something?

Unless you want to manually construct a backport PR, yes. I just added the label :)

@nashif nashif merged commit e1ac386 into zephyrproject-rtos:main Aug 13, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth area: Documentation backport v3.7-branch Request backport to the v3.7-branch bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bluetooth L2CAP TX fragmentation state not cleared upon disconnect
6 participants