Skip to content
Commit 05e64bd6 authored by Jiawei Yang's avatar Jiawei Yang Committed by Dan Kalowsky
Browse files

Bluetooth: L2CAP: Limit BR/EDR L2CAP RX MTU to configured value



Ensure that the BR/EDR L2CAP RX MTU is limited to the configured
BT_L2CAP_RX_MTU value during channel configuration.

This change prevent potential buffer overflow issues when receiving
data larger than the configured buffer size.

Signed-off-by: default avatarJiawei Yang <jiawei.yang_1@nxp.com>
parent c0b1ed06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment