Change in osmo-bsc[master]: cosmetic: magic number: use RSL_ACT_ constant for chan act

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jun 7 01:01:44 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/9485


Change subject: cosmetic: magic number: use RSL_ACT_ constant for chan act
......................................................................

cosmetic: magic number: use RSL_ACT_ constant for chan act

Change-Id: I64ac2a17634f18322828ee2aa2284b0513130488
---
M src/osmo-bsc/bsc_api.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/osmo-bsc/bsc_api.c b/src/osmo-bsc/bsc_api.c
index 5334314..02a59cc 100644
--- a/src/osmo-bsc/bsc_api.c
+++ b/src/osmo-bsc/bsc_api.c
@@ -104,7 +104,7 @@
 	if (chan_mode == GSM48_CMODE_SPEECH_AMR)
 		bsc_mr_config(conn, new_lchan, full_rate);
 
-	if (rsl_chan_activate_lchan(new_lchan, 0x1, 0) < 0) {
+	if (rsl_chan_activate_lchan(new_lchan, RSL_ACT_INTRA_NORM_ASS, 0) < 0) {
 		LOGPLCHAN(new_lchan, DHO, LOGL_ERROR, "could not activate channel\n");
 		lchan_free(new_lchan);
 		return -1;

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I64ac2a17634f18322828ee2aa2284b0513130488
Gerrit-Change-Number: 9485
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180607/f0329d7b/attachment.htm>


More information about the gerrit-log mailing list