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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue May 28 17:53:21 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/14233


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 Makefile.am, 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/33/14233/1

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);
 	default:
 		return -ERANGE;
 	};

-- 
To view, visit https://gerrit.osmocom.org/14233
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b1e436f70e0c60979261db87606f38271ec47d3
Gerrit-Change-Number: 14233
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190528/3f26ae6b/attachment.htm>


More information about the gerrit-log mailing list