From 33c2a1c265e5ea553fdb28f0ae064742347cf857 Mon Sep 17 00:00:00 2001 From: "Andreas.Eversberg" Date: Thu, 22 Jul 2010 16:14:40 +0000 Subject: [PATCH] [layer23] Fixed interpretation of the power measurement result. --- src/host/layer23/src/l1ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/layer23/src/l1ctl.c b/src/host/layer23/src/l1ctl.c index 9d5919810..a28806338 100644 --- a/src/host/layer23/src/l1ctl.c +++ b/src/host/layer23/src/l1ctl.c @@ -519,7 +519,7 @@ static int rx_l1_pm_conf(struct osmocom_ms *ms, struct msgb *msg) DEBUGP(DL1C, "PM MEAS: ARFCN: %4u RxLev: %3d %3d\n", ntohs(pmr->band_arfcn), pmr->pm[0], pmr->pm[1]); mr.band_arfcn = ntohs(pmr->band_arfcn); - mr.rx_lev = (pmr->pm[0] + pmr->pm[1]) / 2; + mr.rx_lev = pmr->pm[0]; mr.ms = ms; dispatch_signal(SS_L1CTL, S_L1CTL_PM_RES, &mr); }