diff options
Diffstat (limited to 'src/common/oml.c')
-rw-r--r-- | src/common/oml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 465c4169..00b85f1c 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -976,7 +976,7 @@ static int oml_rx_set_chan_attr(struct gsm_bts_trx_ts *ts, struct msgb *msg) ts->tsc = *TLVP_VAL(&tp, NM_ATT_TSC); } else { /* If there is no TSC specified, use the BCC */ - ts->tsc = bts->bsic & 0x3; + ts->tsc = BSIC2BCC(bts->bsic); } LOGP(DOML, LOGL_INFO, "%s SET CHAN ATTR (TSC = %u)\n", gsm_abis_mo_name(&ts->mo), ts->tsc); |