summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-29 00:21:18 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:18:21 +0100
commit972558526670a5896155285ed2e2b8b63cb244f6 (patch)
tree110e5596ffe0c37c8ae7a09e8b78e93e1c385f1f
parent1f3eed879a1dae2097adfd7d3381e886ce41f1a1 (diff)
libbsc/pcu_sock.c: pcu_tx_info_ind allow to use TRX not starting from 0
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 15f4220..6299f4f 100644
--- a/openbsc/src/libbsc/pcu_sock.c
+++ b/openbsc/src/libbsc/pcu_sock.c
@@ -222,7 +222,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;