[PATCH] osmo-bsc[master]: fixup: apply mnc3 change also in ipaccess/network_listen.c

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Mar 22 04:34:11 UTC 2018


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

fixup: apply mnc3 change also in ipaccess/network_listen.c

Preceding commit I38ac98a4d25159cfd4f686efbfbaf8f00625a6d8 changed the
ipac_bcch_info.cgi type to osmo_cell_global_id, but did not carry out
corresponding changes in ipaccess/network_listen.c.

The reason this was not caught is that recent commit
I68286d26e2014048b054f39ef29c35fef420cc97 adding the new gscon FSM actually
disables ipaccess-config in the build.

Fix the build, given that ipaccess-config were re-enabled.

Change-Id: I15cd58e8ba0563ce4e42a61e79d01394b61593dd
---
M src/ipaccess/network_listen.c
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/41/7441/1

diff --git a/src/ipaccess/network_listen.c b/src/ipaccess/network_listen.c
index dd6cb4b..bbaf798 100644
--- a/src/ipaccess/network_listen.c
+++ b/src/ipaccess/network_listen.c
@@ -185,10 +185,10 @@
 			DEBUGP(DNM, "BCCH Info parsing failed\n");
 			break;
 		}
-		DEBUGP(DNM, "==> ARFCN %u, RxLev %2u, RxQual %2u: %3d-%d, LAC %d CI %d BSIC %u\n",
+		DEBUGP(DNM, "==> ARFCN %u, RxLev %2u, RxQual %2u: %s, LAC %d CI %d BSIC %u\n",
 			binfo.arfcn, binfo.rx_lev, binfo.rx_qual,
-			binfo.cgi.mcc, binfo.cgi.mnc,
-			binfo.cgi.lac, binfo.cgi.ci, binfo.bsic);
+			osmo_plmn_name(&binfo.cgi.lai.plmn),
+			binfo.cgi.lai.lac, binfo.cgi.cell_identity, binfo.bsic);
 
 		if (binfo.arfcn != last_arfcn) {
 			/* report is on a new arfcn, need to clear channel list */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I15cd58e8ba0563ce4e42a61e79d01394b61593dd
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list