summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-29 00:21:18 +0100
committerAlexander Couzens <lynxis@fe80.eu>2016-11-29 00:21:18 +0100
commit0f29585d5b15f471d13d0768e13305c69741edba (patch)
treecb283344455de2fc7017a72ac71e930228a6cbf8
parentc64d12a1a4236c709429e9b0f979632094dd57e0 (diff)
libbsc/pcu_sock.c: pcu_tx_info_ind allow to use TRX not starting from 0laforge/rbs2000
It would prevent using only e.g. TRX 1 when TRX 0 is disabled. Change-Id: I68dc5e837bd2a3602f7875063c85da4082196274
-rw-r--r--openbsc/src/libbsc/pcu_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/pcu_sock.c b/openbsc/src/libbsc/pcu_sock.c
index 6e72f0055..18d82a90c 100644
--- a/openbsc/src/libbsc/pcu_sock.c
+++ b/openbsc/src/libbsc/pcu_sock.c
@@ -220,7 +220,7 @@ static int pcu_tx_info_ind(struct gsm_bts *bts)
for (i = 0; i < ARRAY_SIZE(info_ind->trx); i++) {
trx = gsm_bts_trx_num(bts, i);
if (!trx)
- break;
+ continue;
info_ind->trx[i].hlayer1 = 0x2342;
info_ind->trx[i].pdch_mask = 0;
info_ind->trx[i].arfcn = trx->arfcn;