Change in libosmocore[master]: rest_octets: Use correct symbols names for range encoder

Harald Welte gerrit-no-reply at
Tue May 28 22:34:33 UTC 2019

Harald Welte has submitted this change and it was merged. ( )

Change subject: rest_octets: Use correct symbols names for range encoder

rest_octets: Use correct symbols names for range encoder

As gsm48_rest_octets.c is not listed in the, it's
never actually compiled and we never noticed that it's calling
functions by symbol names that don't exist :/

Change-Id: I7b1e436f70e0c60979261db87606f38271ec47d3
Related: OS#3075
M src/gsm/gsm48_rest_octets.c
1 file changed, 4 insertions(+), 4 deletions(-)

  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved

diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c
index cdb61f1..0171fd9 100644
--- a/src/gsm/gsm48_rest_octets.c
+++ b/src/gsm/gsm48_rest_octets.c
@@ -256,13 +256,13 @@
 	/* Select the range and the amount of bits needed */
 	switch (r) {
 	case OSMO_GSM48_ARFCN_RANGE_128:
-		return osmo_gsm48_range_enc_range128(chan_list, f0, w);
+		return osmo_gsm48_range_enc_128(chan_list, f0, w);
 	case OSMO_GSM48_ARFCN_RANGE_256:
-		return osmo_gsm48_range_enc_range256(chan_list, f0, w);
+		return osmo_gsm48_range_enc_256(chan_list, f0, w);
 	case OSMO_GSM48_ARFCN_RANGE_512:
-		return osmo_gsm48_range_enc_range512(chan_list, f0, w);
+		return osmo_gsm48_range_enc_512(chan_list, f0, w);
 	case OSMO_GSM48_ARFCN_RANGE_1024:
-		return osmo_gsm48_range_enc_range1024(chan_list, f0, f0_included, w);
+		return osmo_gsm48_range_enc_1024(chan_list, f0, f0_included, w);
 		return -ERANGE;

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7b1e436f70e0c60979261db87606f38271ec47d3
Gerrit-Change-Number: 14233
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list