[gprs] bssgp: Fix LLC PDU length encoding in BSSGP.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2010-06-09 21:13:13 +02:00 committed by Harald Welte
parent eda125ca51
commit 644a0cac0c
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ int gprs_bssgp_tx_dl_ud(struct msgb *msg, struct sgsn_mm_ctx *mmctx)
llc_pdu_tlv[1] = msg_len >> 8;
llc_pdu_tlv[2] = msg_len & 0xff;
} else {
llc_pdu_tlv[1] = msg_len & 0x3f;
llc_pdu_tlv[1] = msg_len & 0x7f;
llc_pdu_tlv[1] |= 0x80;
}