summaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-08-04 01:31:53 +0200
committerHarald Welte <laforge@netfilter.org>2009-08-04 01:31:53 +0200
commitfad0559aeec065e4cff22a73b6cfe4d36912c968 (patch)
tree4b17c704afc4d59b80f96d71ba0ccf5a9cba2c9d /openbsc/src
parented640c45199af100e6705d2a582a664a0b1628b4 (diff)
fix initialization of TRX1 / TS0
also fix a minor error when printing BTS/TRX number
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/bsc_hack.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c
index b762f8c4d..53f282b3f 100644
--- a/openbsc/src/bsc_hack.c
+++ b/openbsc/src/bsc_hack.c
@@ -589,10 +589,10 @@ static void bootstrap_om_bs11(struct gsm_bts *bts)
/* Use TEI 2 for signalling */
abis_nm_establish_tei(bts, 1, 0, 1, 0xff, 0x02);
- /* SET CHANNEL ATTRIBUTE TS1 */
- abis_nm_set_channel_attr(&trx->ts[1], NM_CHANC_TCHFull);
- /* Connect traffic of bts0/trx0/ts1 to e1_0/ts4/a */
- abis_nm_conn_terr_traf(&trx->ts[1], 0, 4, 0);
+ /* SET CHANNEL ATTRIBUTE TS0 */
+ abis_nm_set_channel_attr(&trx->ts[0], NM_CHANC_TCHFull);
+ /* Connect traffic of bts0/trx0/ts0 to e1_0/ts4/a */
+ abis_nm_conn_terr_traf(&trx->ts[0], 0, 4, 0);
/* SET CHANNEL ATTRIBUTE TS1 */
abis_nm_set_channel_attr(&trx->ts[1], NM_CHANC_TCHFull);
@@ -964,7 +964,7 @@ static void bootstrap_rsl(struct gsm_bts_trx *trx)
{
fprintf(stdout, "bootstrapping RSL for BTS/TRX (%u/%u) "
"using MCC=%u MNC=%u BSIC=%u TSC=%u\n",
- trx->nr, trx->bts->nr, MCC, MNC, BSIC, TSC);
+ trx->bts->nr, trx->nr, MCC, MNC, BSIC, TSC);
set_system_infos(trx);
}