[layer23/lapdm] Added more headroom for data indication to prevent underrun

This commit is contained in:
Andreas.Eversberg 2010-08-12 07:13:16 +00:00
parent c27bbfa7d9
commit 49d6f1aca9
1 changed files with 1 additions and 1 deletions

View File

@ -1394,7 +1394,7 @@ static int lapdm_rx_i(struct msgb *msg, struct lapdm_msg_ctx *mctx)
if (!dl->rcv_buffer) {
LOGP(DLAPDM, LOGL_INFO, "message in multiple I "
"frames (first message)\n");
dl->rcv_buffer = msgb_alloc_headroom(200+10, 10,
dl->rcv_buffer = msgb_alloc_headroom(200+56, 56,
"LAPDm RX");
dl->rcv_buffer->l3h = dl->rcv_buffer->data;
}