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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Oct 24 08:40:07 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/common/measurement.c b/src/common/measurement.c
index 52431c5..a83be34 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -902,7 +902,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: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211024/3afb2d41/attachment.htm>


More information about the gerrit-log mailing list