diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-05-30 02:22:21 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-06-07 19:09:06 +0200 |
commit | 74c07c7b9c398c3f0a34e561edd190b83d75c697 (patch) | |
tree | 1ab4af65c28938177e6433ed02ea63ef00bddf2c /src | |
parent | c19581f268783783ed603905045f20a8082efc2f (diff) |
cosmetic: magic number: use RSL_ACT_ constant for chan act
Change-Id: I64ac2a17634f18322828ee2aa2284b0513130488
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/bsc_api.c | 2 |
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; |