Review at  https://gerrit.osmocom.org/7150

cosmetic: hodec2: log nr of neighbors in meas report

Rationale: explicitly indicate the case of zero neighbors.

Change-Id: I09ddfd5b09883ec0124fe485346d9ed26de454e8
---
M src/libbsc/handover_decision_2.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/50/7150/1

diff --git a/src/libbsc/handover_decision_2.c b/src/libbsc/handover_decision_2.c
index 0135020..615bc0a 100644
--- a/src/libbsc/handover_decision_2.c
+++ b/src/libbsc/handover_decision_2.c
@@ -1127,7 +1127,8 @@
 
        if (log_check_level(DHODEC, LOGL_DEBUG)) {
                int i;
-               LOGPHOLCHAN(lchan, LOGL_DEBUG, "MEASUREMENT REPORT\n");
+               LOGPHOLCHAN(lchan, LOGL_DEBUG, "MEASUREMENT REPORT (%d 
neighbors)\n",
+                           mr->num_cell);
                for (i = 0; i < mr->num_cell; i++) {
                        struct gsm_meas_rep_cell *mrc = &mr->cell[i];
                        LOGPHOLCHAN(lchan, LOGL_DEBUG,

-- 
To view, visit https://gerrit.osmocom.org/7150
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I09ddfd5b09883ec0124fe485346d9ed26de454e8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to