Use the old value, which was removed in
I78c3d65fdaf14addf80607ce5105221e52447a9e.
Bug:
159815595
Tag: #refactor
Test: compile & verify basic functions working & OPP
Change-Id: I90a8f94d16f87df2d4ce8bb0de8130d544affd12
alarm_free(p_ccb->fcrb.mon_retrans_timer);
p_ccb->fcrb.mon_retrans_timer = alarm_new("l2c_fcrb.mon_retrans_timer");
- p_ccb->max_rx_mtu = L2CAP_MTU_SIZE;
+ p_ccb->max_rx_mtu = BT_DEFAULT_BUFFER_SIZE -
+ (L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET + L2CAP_FCS_LEN);
p_ccb->tx_mps = BT_DEFAULT_BUFFER_SIZE - 32;
p_ccb->xmit_hold_q = fixed_queue_new(SIZE_MAX);