diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-03-15 13:04:37 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-03-15 21:08:33 +0100 |
commit | 7cf3b1dd6aa603fd80969e9e7160becf1455a0eb (patch) | |
tree | 60a5f92041a556ec2233ec153f4c69b18b83306b /scripts/Makefile.package | |
parent | Bluetooth: Cancel le_scan_restart work when stopping discovery (diff) | |
download | linux-dev-7cf3b1dd6aa603fd80969e9e7160becf1455a0eb.tar.xz linux-dev-7cf3b1dd6aa603fd80969e9e7160becf1455a0eb.zip |
Bluetooth: L2CAP: Fix not checking for maximum number of DCID
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@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'scripts/Makefile.package')
0 files changed, 0 insertions, 0 deletions