encoding: correct encoding of CRBB in ACK/NACK when not byte aligned
The last bits of the CRBB (compressed receive block bitmap) was incorrect encoded when the CRBB is not byte aligned. Related: OS#3728 Change-Id: I7261aa71b37d7ead52992f8db462f72a3804988e
This commit is contained in:
parent
5c3783b7e8
commit
3f640773f3
|
@ -965,7 +965,7 @@ static void write_packet_ack_nack_desc_egprs(
|
||||||
crbb_len = crbb_len - 8;
|
crbb_len = crbb_len - 8;
|
||||||
iter++;
|
iter++;
|
||||||
} else {
|
} else {
|
||||||
bitvec_write_field(dest, &wp, crbb_bitmap[iter], crbb_len);
|
bitvec_write_field(dest, &wp, crbb_bitmap[iter] >> (8 - crbb_len), crbb_len);
|
||||||
crbb_len = 0;
|
crbb_len = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue