aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-22 01:28:46 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-22 01:32:27 +0300
commit26417d45749ca95d987c83b4104923844f268af2 (patch)
treebf0b8eff66b506d8bea5799c6154e91aed2225fa /src/common/rsl.c
parentae606d69a46a59cab1415502ffee24020bce515b (diff)
rsl: rsl_tx_meas_res() does not change l3, make it const
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 145cc8a9..d14395b8 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -3464,7 +3464,7 @@ struct osmo_bts_supp_meas_info {
} __attribute__((packed));
/* Compose and send 8.4.8 MEASUREMENT RESult via RSL. (timing_offset=-1 -> not present) */
-int rsl_tx_meas_res(struct gsm_lchan *lchan, uint8_t *l3, int l3_len, int timing_offset)
+int rsl_tx_meas_res(struct gsm_lchan *lchan, const uint8_t *l3, int l3_len, int timing_offset)
{
struct msgb *msg;
uint8_t meas_res[16];