aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-08 03:28:45 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-08 03:32:52 +0100
commit7e52ae1e738e8fdf3c527a4c084597b304a8fdf5 (patch)
tree3c715b44dc56096c4f6e156b274ff48b88b36b15
parentf0141b95cd265017189b7e918c6c80889bbd135f (diff)
cosmetic: hodec2: log nr of neighbors in meas report
Rationale: explicitly indicate the case of zero neighbors. Change-Id: I09ddfd5b09883ec0124fe485346d9ed26de454e8
-rw-r--r--src/libbsc/handover_decision_2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libbsc/handover_decision_2.c b/src/libbsc/handover_decision_2.c
index 0135020a6..615bc0ae0 100644
--- a/src/libbsc/handover_decision_2.c
+++ b/src/libbsc/handover_decision_2.c
@@ -1127,7 +1127,8 @@ static void on_measurement_report(struct gsm_meas_rep *mr)
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,