Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: L2CAP: document memset requirement #76890

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

jori-nordic
Copy link
Collaborator

@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
Collaborator Author

related #76935

@jori-nordic
Copy link
Collaborator 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