Loading system/stack/l2cap/l2c_fcr.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1795,7 +1795,7 @@ BT_HDR* l2c_fcr_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb, * returned PDU is last piece from this SDU.*/ BT_HDR* l2c_lcc_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb, bool* last_piece_of_sdu) { uint16_t max_pdu = p_ccb->peer_conn_cfg.mps; uint16_t max_pdu = p_ccb->peer_conn_cfg.mps - 4 /* Length and CID */; BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_peek_first(p_ccb->xmit_hold_q); bool first_pdu = (p_buf->event == 0) ? true : false; Loading Loading
system/stack/l2cap/l2c_fcr.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1795,7 +1795,7 @@ BT_HDR* l2c_fcr_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb, * returned PDU is last piece from this SDU.*/ BT_HDR* l2c_lcc_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb, bool* last_piece_of_sdu) { uint16_t max_pdu = p_ccb->peer_conn_cfg.mps; uint16_t max_pdu = p_ccb->peer_conn_cfg.mps - 4 /* Length and CID */; BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_peek_first(p_ccb->xmit_hold_q); bool first_pdu = (p_buf->event == 0) ? true : false; Loading