Encoding: write_packet_ack_nack_desc_egprs: don't use a reference for rest_bits

The rest_bits are never read after calling this function nor are rest_bits
updated properly.

Change-Id: Ic350b0365b125638a6c752f692bef981ad6b9d89
This commit is contained in:
Alexander Couzens 2019-06-16 21:53:03 +02:00
parent 2d24eba903
commit 243a204021
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ static void write_packet_uplink_ack_gprs(
static void write_packet_ack_nack_desc_egprs(
bitvec * dest, unsigned& wp,
gprs_rlc_ul_window *window, bool is_final, unsigned& rest_bits)
gprs_rlc_ul_window *window, bool is_final, unsigned rest_bits)
{
unsigned int urbb_len = 0;
uint8_t crbb_len = 0;