Change in osmo-bts[master]: rsl: constify the 'lchan' argument of rsl_tx_conn_fail()

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
Wed Aug 5 22:31:19 UTC 2020


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


Change subject: rsl: constify the 'lchan' argument of rsl_tx_conn_fail()
......................................................................

rsl: constify the 'lchan' argument of rsl_tx_conn_fail()

Change-Id: Icec43d7c1f3b99292fa87462ad65b2c19fdd3b5f
---
M include/osmo-bts/rsl.h
M src/common/rsl.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/36/19536/1

diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index ff6c2a8..5dfd6cf 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -24,7 +24,7 @@
 int rsl_tx_est_ind(struct gsm_lchan *lchan, uint8_t link_id, uint8_t *data, int len);
 
 int rsl_tx_chan_act_acknack(struct gsm_lchan *lchan, uint8_t cause);
-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);
 int rsl_tx_rf_rel_ack(struct gsm_lchan *lchan);
 int rsl_tx_hando_det(struct gsm_lchan *lchan, uint8_t *ho_delay);
 
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 4a91e3e..802e577 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -894,7 +894,7 @@
 }
 
 /* 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);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Icec43d7c1f3b99292fa87462ad65b2c19fdd3b5f
Gerrit-Change-Number: 19536
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/20200805/1ddfe60e/attachment.htm>


More information about the gerrit-log mailing list