Change in osmo-bsc[master]: AMR start-mode auto: send smod bits as zero

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/.

neels gerrit-no-reply at lists.osmocom.org
Thu Nov 26 03:20:27 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21376 )


Change subject: AMR start-mode auto: send smod bits as zero
......................................................................

AMR start-mode auto: send smod bits as zero

Change-Id: I1ec5bad0bce01cc425ee05ecf70c83ec662a226a
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/76/21376/1

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 5022fe1..d8e9682 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -4199,9 +4199,10 @@
 		}
 	}
 
-	if (argv[0][0] == 'a' || num == 0)
+	if (argv[0][0] == 'a' || num == 0) {
 		mr_conf->icmi = 0;
-	else {
+		mr_conf->smod = 0;
+	} else {
 		mr_conf->icmi = 1;
 		if (num < atoi(argv[0]))
 			mr_conf->smod = num - 1;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21376
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I1ec5bad0bce01cc425ee05ecf70c83ec662a226a
Gerrit-Change-Number: 21376
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201126/a22a37bb/attachment.htm>


More information about the gerrit-log mailing list