aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/abis_rsl.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-11-14 23:39:55 +0300
committerfixeria <vyanitskiy@sysmocom.de>2021-11-15 11:59:03 +0000
commit92442c930979723c4ee98d3a079819ea7605c63a (patch)
treec027007a7692f474e07046dfa23f2b21f4ecdfec /src/osmo-bsc/abis_rsl.c
parentf59abedb2427bbf2f3ff4a22a4d7bce55571d150 (diff)
abis_rsl: {rep,top}_acch_cap_for_bts(): make *lchan const
Diffstat (limited to 'src/osmo-bsc/abis_rsl.c')
-rw-r--r--src/osmo-bsc/abis_rsl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 90ceec18a..6760e9451 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -526,11 +526,11 @@ static int put_mr_config_for_bts(struct msgb *msg, const struct gsm48_multi_rate
/* indicate FACCH/SACCH Repetition to be performed by BTS,
* see also: 3GPP TS 44.006, section 10 and 11 */
-static void rep_acch_cap_for_bts(struct gsm_lchan *lchan,
+static void rep_acch_cap_for_bts(const struct gsm_lchan *lchan,
struct msgb *msg)
{
struct abis_rsl_osmo_rep_acch_cap *cap;
- struct gsm_bts *bts = lchan->ts->trx->bts;
+ const struct gsm_bts *bts = lchan->ts->trx->bts;
/* The RSL_IE_OSMO_REP_ACCH_CAP IE is a proprietary IE, that can only
* be used with osmo-bts type BTSs */
@@ -554,9 +554,9 @@ static void rep_acch_cap_for_bts(struct gsm_lchan *lchan,
}
/* indicate Temporary overpower of SACCH and FACCH channels */
-static void top_acch_cap_for_bts(struct gsm_lchan *lchan, struct msgb *msg)
+static void top_acch_cap_for_bts(const struct gsm_lchan *lchan, struct msgb *msg)
{
- struct gsm_bts *bts = lchan->ts->trx->bts;
+ const struct gsm_bts *bts = lchan->ts->trx->bts;
/* The BTS_FEAT_ACCH_TEMP_OVP IE is a proprietary IE, that can only be used with osmo-bts type BTSs */
if (!(bts->model->type == GSM_BTS_TYPE_OSMOBTS && osmo_bts_has_feature(&bts->features, BTS_FEAT_ACCH_TEMP_OVP)))