[PATCH] osmo-ttcn3-hacks[master]: MNCC: Properly terminate speech version array

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
Mon Jan 22 02:01:48 UTC 2018


Review at  https://gerrit.osmocom.org/5971

MNCC: Properly terminate speech version array

MNCC has this weird encoding that the speech version array must
be terminated with one element '-1' at the end.  Let's make sure
our default complies to this rule.

Change-Id: I2e06ed1b558c58a62a00ea8d3573bb31c0c3e750
Related: OS#2853
---
M library/MNCC_Types.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/71/5971/1

diff --git a/library/MNCC_Types.ttcn b/library/MNCC_Types.ttcn
index f1d9e37..1d7980a 100644
--- a/library/MNCC_Types.ttcn
+++ b/library/MNCC_Types.ttcn
@@ -169,7 +169,7 @@
 	coding		:= 0,	/* GSM standard */
 	radio		:= 3,	/* FR/HR, FR preferred */
 	speech_ctm	:= 0,	/* not supported */
-	speech_ver	:= { 0, 2, 4, 1, 5 },
+	speech_ver	:= { 0, 2, 4, 1, 5, -1 },
 	data		:= omit
 };
 

-- 
To view, visit https://gerrit.osmocom.org/5971
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e06ed1b558c58a62a00ea8d3573bb31c0c3e750
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list