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

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


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  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);
 	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: merged
Gerrit-Change-Id: I7b1e436f70e0c60979261db87606f38271ec47d3
Gerrit-Change-Number: 14233
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190528/9eae78b2/attachment.html>


More information about the gerrit-log mailing list