aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-29 00:21:18 +0100
committerHarald Welte <laforge@gnumonks.org>2017-05-25 14:04:08 +0200
commit872671e01ba4c081ca642b1bb7abee8fe7c4af45 (patch)
tree3acf222c2f4e126934fc36ab98616d81103cc63e
parenta229756885907bf46c820649e87396a25b1ac4ae (diff)
pcu_sock: 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 0e904db18..7712878c6 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;