rlcmac: Fix EGPRS UL data block TLLI endianess

According to TS 44.060, figure 10.3a.2.1, note 2, the TLLI is
encoded in little endian for EGPRS (while big endian is used in GPRS).
This commit is contained in:
Pau Espin 2020-11-09 11:37:13 +01:00
parent d0b0094bf3
commit dfa8a3fe5a
1 changed files with 1 additions and 1 deletions

View File

@ -9660,7 +9660,7 @@ dissect_egprs_ul_data_block(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* the next fields are present according to earlier flags */
if (tlli_i)
{
proto_tree_add_bits_item(data_tree, hf_tlli, tvb, offset * 8, 32, ENC_BIG_ENDIAN);
proto_tree_add_item(data_tree, hf_tlli, tvb, offset, 4, ENC_LITTLE_ENDIAN);
offset += 4;
}
if (egprs_ul_header_info->pi)