LAPDm: Fix encoding of RLL ERROR IE

This commit is contained in:
Harald Welte 2011-09-03 10:12:50 +02:00
parent fe28dedd4c
commit ee876c9172
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}