Hi Luiz, > When receiving L2CAP_CREDIT_BASED_CONNECTION_REQ the remote may request > more channels than allowed by the spec (10 octecs = 5 CIDs) so this > checks if the number of channels is bigger than the maximum allowed and > respond with an error. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > --- > v2: Respond with an error instead of truncating the response with maximum > allowed nunber of channels. > > include/net/bluetooth/l2cap.h | 1 + > net/bluetooth/l2cap_core.c | 12 +++++++++--- > 2 files changed, 10 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel