Change in osmo-bts[master]: lchan_meas_handle_sacch(): check if Measurement Result is valid

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Oct 30 00:03:06 UTC 2021


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 <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211030/25c395c0/attachment.htm>


More information about the gerrit-log mailing list