aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-03 10:12:50 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-03 10:43:41 +0200
commitee876c91723267d913a12e76f46bd537700ab9e9 (patch)
treee60ef778c1a6f030fb83f0605d81c5a47096c07e
parentfe28dedd4c25b5f0f3df39d5e33ce3639574406c (diff)
LAPDm: Fix encoding of RLL ERROR IE0.3.8
-rw-r--r--src/gsm/lapdm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c
index f99c119..a221278 100644
--- a/src/gsm/lapdm.c
+++ b/src/gsm/lapdm.c
@@ -488,7 +488,6 @@ static int rsl_rll_error(uint8_t cause, struct lapdm_msg_ctx *mctx)
LOGP(DLLAPDM, LOGL_NOTICE, "sending MDL-ERROR-IND %d\n", cause);
msg = rsl_rll_simple(RSL_MT_ERROR_IND, mctx->chan_nr, mctx->link_id, 1);
- msg->l2h = msgb_put(msg, sizeof(struct abis_rsl_rll_hdr));
msgb_tlv_put(msg, RSL_IE_RLM_CAUSE, 1, &cause);
return rslms_sendmsg(msg, mctx->dl->entity);
}