Change in osmo-bts[master]: measurement: fix wrong operator used in handle_ms_meas_report()

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
Wed Oct 20 20:53:35 UTC 2021


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


Change subject: measurement: fix wrong operator used in handle_ms_meas_report()
......................................................................

measurement: fix wrong operator used in handle_ms_meas_report()

Change-Id: Iad781dde0406d341bf385734ceddf51999558dd3
Fixes: CID#240263
---
M src/common/measurement.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/common/measurement.c b/src/common/measurement.c
index 87e853e..1e4097e 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -824,7 +824,7 @@
 		ms_pwr = lchan->ms_power_ctrl.current;
 	} else {
 		/* if len!=0, it means we were able to parse L1Header in UL SACCH: */
-		OSMO_ASSERT(lchan->meas.flags | LC_UL_M_F_L1_VALID);
+		OSMO_ASSERT(lchan->meas.flags & LC_UL_M_F_L1_VALID);
 
 		ms_ta = lchan->meas.l1_info.ta;
 		ms_pwr = lchan->meas.l1_info.ms_pwr;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iad781dde0406d341bf385734ceddf51999558dd3
Gerrit-Change-Number: 25863
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/20211020/97cfcce4/attachment.htm>


More information about the gerrit-log mailing list