[PATCH] osmo-bsc[master]: cosmetic: hodec2: log nr of neighbors in meas report

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Mar 8 02:34:14 UTC 2018


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 <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list