Fix length of L2CAP packets.