[MERGED] osmo-bts[master]: fix inverted logic bug in omldummy patch

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Mar 17 15:49:45 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: fix inverted logic bug in omldummy patch
......................................................................


fix inverted logic bug in omldummy patch

Change-Id: Ic2e7e78f922cb9634217f03482153950c90848a1
---
M src/common/oml.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/oml.c b/src/common/oml.c
index 9dccdfd..088b3a0 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1362,7 +1362,7 @@
 	LOGP(DOML, LOGL_INFO, "Rx IPA RSL CONNECT IP=%s PORT=%u STREAM=0x%02x\n", 
 		inet_ntoa(in), port, stream_id);
 
-	if (trx->bts->variant != BTS_OSMO_OMLDUMMY) {
+	if (trx->bts->variant == BTS_OSMO_OMLDUMMY) {
 		rc = 0;
 		LOGP(DOML, LOGL_NOTICE, "Not connecting RSL in OML-DUMMY!\n");
 	} else

-- 
To view, visit https://gerrit.osmocom.org/7345
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic2e7e78f922cb9634217f03482153950c90848a1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list