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

Change-Id: If750003beb8653cf67fd192fa5c16343138155c9
This commit is contained in:
Vadim Yanitskiy 2020-07-03 03:47:35 +07:00
parent 3f89e4a95d
commit 6c7149be3c
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ static int generate_ma_for_ts(struct gsm_bts_trx_ts *ts)
{
/* 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;