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
This commit is contained in:
Alexander Couzens 2016-11-29 00:21:18 +01:00 committed by Harald Welte
parent a229756885
commit 872671e01b
1 changed files with 1 additions and 1 deletions

View File

@ -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;