[PATCH] 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:41:25 UTC 2018


Review at  https://gerrit.osmocom.org/7345

fix inverted logic bug in omldummy patch

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


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

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: newchange
Gerrit-Change-Id: Ic2e7e78f922cb9634217f03482153950c90848a1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list