Skip to content

Conversation

zephyrbot
Copy link

Backport 06e18c6df5bc9857d414687a6046fea6213c6506~3..06e18c6df5bc9857d414687a6046fea6213c6506 from #33305

Vudentz added 3 commits March 17, 2021 10:30
When receiving L2CAP_CREDIT_BASED_CONNECTION_REQ the remote may request
more channels than allowed so this checks if amount of channel surpasses
the maximum channels (5) and return an error.

Signed-off-by: Luiz Augusto von Dentz <[email protected]>
For errors that means all connections have been refused there is no need
to add dcids since none will be valid.

Signed-off-by: Luiz Augusto von Dentz <[email protected]>
The order of Destination CIDs shall correspond the order of Source CIDs
including its amount so errors that don't result in all connection being
refused shall not break the order of CIDs.

Signed-off-by: Luiz Augusto von Dentz <[email protected]>
@github-actions github-actions bot added area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Mar 17, 2021
@nashif nashif merged commit 550939e into v2.5-branch Mar 18, 2021
@galak galak deleted the backport-33305-to-v2.5-branch branch June 10, 2021 13:25
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants