aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-08-06 04:54:14 +0700
committerfixeria <vyanitskiy@sysmocom.de>2020-08-07 18:31:10 +0000
commit30458c83e561bbb319a4e1fba5a4ce00e611b691 (patch)
treedd2def6b5546b1ad858b4cb131551445865f3eca /src/common/rsl.c
parent4fa40f591357ac226259c2ccfa1a96f2daed4461 (diff)
rsl: constify the 'lchan' argument of rsl_tx_conn_fail()
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 4a91e3e6..802e577c 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -894,7 +894,7 @@ int rsl_tx_chan_act_acknack(struct gsm_lchan *lchan, uint8_t cause)
}
/* 8.4.4 sending CONNection FAILure */
-int rsl_tx_conn_fail(struct gsm_lchan *lchan, uint8_t cause)
+int rsl_tx_conn_fail(const struct gsm_lchan *lchan, uint8_t cause)
{
struct msgb *msg;
uint8_t chan_nr = gsm_lchan2chan_nr(lchan);