Change in osmo-bsc[master]: generate_ma_for_ts(): constify per cell/timeslot ARFCN bit-vectors

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
Thu Jul 2 20:53:40 UTC 2020


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


Change subject: generate_ma_for_ts(): constify per cell/timeslot ARFCN bit-vectors
......................................................................

generate_ma_for_ts(): constify per cell/timeslot ARFCN bit-vectors

Change-Id: If750003beb8653cf67fd192fa5c16343138155c9
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 06f0cb1..dbd9701 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -234,8 +234,8 @@
 {
 	/* we have three bitvecs: the per-timeslot ARFCNs, the cell chan ARFCNs
 	 * and the MA */
-	struct bitvec *cell_chan = &ts->trx->bts->si_common.cell_alloc;
-	struct bitvec *ts_arfcn = &ts->hopping.arfcns;
+	const struct bitvec *cell_chan = &ts->trx->bts->si_common.cell_alloc;
+	const struct bitvec *ts_arfcn = &ts->hopping.arfcns;
 	struct bitvec *ma = &ts->hopping.ma;
 	unsigned int num_cell_arfcns, bitnum, n_chan;
 	int i;

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: If750003beb8653cf67fd192fa5c16343138155c9
Gerrit-Change-Number: 19112
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/20200702/73dbfec9/attachment.htm>


More information about the gerrit-log mailing list