dexter has uploaded this change for review.

View Change

pcu_sock: don not continue when running out of TRX space

The info indication on pcu_sock cann only support a limited but
sufficient number of TRXs, when we detect that we overflow the maxiumum
number of TRXs, then break and do not continue.

(this is more or less a cosmetic problem)

Change-Id: If4d7eecaded22f86750283f7aa13072064724537
---
M src/common/pcu_sock.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/78/30878/1
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index b7ec048..6499421 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -349,7 +349,7 @@
LOGPTRX(trx, DPCU, LOGL_NOTICE, "PCU interface (version %u) "
"cannot handle more than %zu transceivers => skipped\n",
PCU_IF_VERSION, ARRAY_SIZE(info_ind->trx));
- continue;
+ break;
}

info_ind_fill_trx(&info_ind->trx[trx->nr], trx);

To view, visit change 30878. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: If4d7eecaded22f86750283f7aa13072064724537
Gerrit-Change-Number: 30878
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-MessageType: newchange