Bluetooth: Fix ATT MTU size to 23

We only support a 23 octet MTU, so auto-respond to all
MTU change requests with the 23 octet response.

Change-Id: Ic69d5f068759d983f8cd98b329acbb9d3a481c49
CRs-fixed: 336025
Signed-off-by: Brian Gix <bgix@codeaurora.org>
This commit is contained in:
Brian Gix
2012-01-31 07:56:04 -08:00
committed by Stephen Boyd
parent 8cc56a66e6
commit 155c8d2a6f
2 changed files with 19 additions and 0 deletions

View File

@@ -648,6 +648,8 @@ struct l2cap_pinfo {
#define L2CAP_AMP_STATE_RESEGMENT 12
#define L2CAP_ATT_ERROR 0x01
#define L2CAP_ATT_MTU_REQ 0x02
#define L2CAP_ATT_MTU_RSP 0x03
#define L2CAP_ATT_RESPONSE_BIT 0x01
#define L2CAP_ATT_INDICATE 0x1D
#define L2CAP_ATT_NOT_SUPPORTED 0x06