fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/26047 )


Change subject: lchan_meas_handle_sacch(): check if Measurement Result is valid
......................................................................

lchan_meas_handle_sacch(): check if Measurement Result is valid

Change-Id: I4aaac742674ce3ac15e9a4a32fe7c72db81d32d2
---
M src/common/measurement.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/47/26047/1

diff --git a/src/common/measurement.c b/src/common/measurement.c
index e4d950e..124e6e5 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -951,7 +951,8 @@
         */
        if (gh && gh->msg_type == GSM48_MT_RR_MEAS_REP) {
                mr = (const struct gsm48_meas_res *)gh->data;
-               dtxu_used = mr->dtx_used;
+               if (mr->meas_valid != 0) /* 0 = valid */
+                       dtxu_used = mr->dtx_used;
        }

        if (dtxu_used) {

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/26047
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I4aaac742674ce3ac15e9a4a32fe7c72db81d32d2
Gerrit-Change-Number: 26047
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to