summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-07-21 20:40:05 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-21 22:13:22 +0200
commite6c22d9db778f0fa226ccdaac86ee44315f63bee (patch)
tree9acaf3ccbcfeff7b470a0d1da47b49f406e8038a
parentae0f2362bb5a02ade62a02b73c4754922553d831 (diff)
use the TSC that is configured in bts->tsc rather than hardcoded value
-rw-r--r--openbsc/src/abis_nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c
index f2383e2fa..2b5647962 100644
--- a/openbsc/src/abis_nm.c
+++ b/openbsc/src/abis_nm.c
@@ -1643,7 +1643,7 @@ int abis_nm_set_channel_attr(struct gsm_bts_trx_ts *ts, u_int8_t chan_comb)
msgb_tv_put(msg, NM_ATT_HSN, 0x00);
msgb_tv_put(msg, NM_ATT_MAIO, 0x00);
}
- msgb_tv_put(msg, NM_ATT_TSC, 0x07); /* training sequence */
+ msgb_tv_put(msg, NM_ATT_TSC, bts->tsc); /* training sequence */
if (bts->type == GSM_BTS_TYPE_BS11)
msgb_tlv_put(msg, 0x59, 1, &zero);