aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-10 13:29:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-10 13:29:27 +0200
commit84f3ec644a58980f5cb7ea218c48674dee776835 (patch)
tree5c426c3fded9531e5501ffc34dcee5baa59a573b /src/common
parent36413548e0d68ddef957930de57f77b4b512d883 (diff)
lchan_meas_check_compute: Log value during incorrect num of SUB measurementes detected
Diffstat (limited to 'src/common')
-rw-r--r--src/common/measurement.c3
1 files changed, 2 insertions, 1 deletions
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