aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-05-30 02:22:21 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-07 19:09:06 +0200
commit74c07c7b9c398c3f0a34e561edd190b83d75c697 (patch)
tree1ab4af65c28938177e6433ed02ea63ef00bddf2c
parentc19581f268783783ed603905045f20a8082efc2f (diff)
cosmetic: magic number: use RSL_ACT_ constant for chan act
-rw-r--r--src/osmo-bsc/bsc_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/bsc_api.c b/src/osmo-bsc/bsc_api.c
index 533431417..02a59cc89 100644
--- a/src/osmo-bsc/bsc_api.c
+++ b/src/osmo-bsc/bsc_api.c
@@ -104,7 +104,7 @@ static int handle_new_assignment(struct gsm_subscriber_connection *conn, int cha
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;