Skip to content
Commit 253070b7 authored by Szymon Janc's avatar Szymon Janc Committed by Carles Cufí
Browse files

Bluetooth: host: Fix L2CAP reconfigure response with invalid CID



When an L2CAP_CREDIT_BASED_RECONFIGURE_REQ packet is received with
invalid parameters, the recipient shall send an
L2CAP_CREDIT_BASED_RECONFIGURE_RSP PDU with a non-zero Result field
and not change any MTU and MPS values.

This fix incorrectly reconfiguring valid channels while responding with
0x003 (Reconfiguration failed - one or more Destination CIDs invalid)
result code.

Signed-off-by: default avatarSzymon Janc <szymon.janc@codecoup.pl>
parent 266394de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment