summaryrefslogtreecommitdiffstats
path: root/src/host/layer23
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-08-12 09:13:16 +0200
committerAndreas.Eversberg2010-08-12 09:13:16 +0200
commit49d6f1aca9b8d57c27878bd8e3ba79c521e5545d (patch)
treeb9fc1113a70f8999b621a6bc50260e4f7715045c /src/host/layer23
parent[layer23] Removed hack: Allocate SDCCH when requesting a TCH (diff)
downloadosmocom-49d6f1aca9b8d57c27878bd8e3ba79c521e5545d.tar.gz
osmocom-49d6f1aca9b8d57c27878bd8e3ba79c521e5545d.tar.xz
osmocom-49d6f1aca9b8d57c27878bd8e3ba79c521e5545d.zip
[layer23/lapdm] Added more headroom for data indication to prevent underrun
Diffstat (limited to 'src/host/layer23')
-rw-r--r--src/host/layer23/src/common/lapdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/common/lapdm.c b/src/host/layer23/src/common/lapdm.c
index f165f4e..1147c4f 100644
--- a/src/host/layer23/src/common/lapdm.c
+++ b/src/host/layer23/src/common/lapdm.c
@@ -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;
}