From 84f3ec644a58980f5cb7ea218c48674dee776835 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 10 Oct 2018 13:29:27 +0200 Subject: lchan_meas_check_compute: Log value during incorrect num of SUB measurementes detected Change-Id: I5dacbed5517b2aa2a6bbc66ec125f0bdfd1f5b2b --- src/common/measurement.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/measurement.c b/src/common/measurement.c index 33b1c115..c2001dae 100644 --- a/src/common/measurement.c +++ b/src/common/measurement.c @@ -640,7 +640,8 @@ int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn) gsm_lchan_name(lchan), num_ul_meas_subst, num_meas_sub_subst); if (num_meas_sub != num_meas_sub_expect) { - LOGP(DMEAS, LOGL_ERROR, "%s Incorrect number of SUB measurements detected!\n", gsm_lchan_name(lchan)); + LOGP(DMEAS, LOGL_ERROR, "%s Incorrect number of SUB measurements detected! (%u vs exp %u)\n", + gsm_lchan_name(lchan), num_meas_sub, num_meas_sub_expect); /* Normally the logic above should make sure that there is * always the exact amount of SUB measurements taken into * account. If not then the logic that decides tags the received -- cgit v1.2.3