-
Notifications
You must be signed in to change notification settings - Fork 8k
Bluetooth: L2CAP: ECRED fixes #33305
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be backported to stable releases? If so, please add the appropriate labels.
@Vudentz which releases should this be backported to? Please add the labels for those (the automatic backport PR creation works again, but not for the generic "Backport" label) |
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]>
Ive added the version where ECRED support has already been introduced. |
AFAIK ECRED was first introduced in the 2.3 release, should we add it there as well? |
Backports only go back 2 releases. |
No description provided.