Change in osmo-bts[master]: rsl: constify the 'lchan' argument of rsl_tx_conn_fail()
fixeria has submitted this change. ( 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(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved 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: 5 Gerrit-Owner: fixeria Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-bts[master]: rsl: constify the 'lchan' argument of rsl_tx_conn_fail()
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/19536 ) Change subject: rsl: constify the 'lchan' argument of rsl_tx_conn_fail() .. Patch Set 1: Code-Review+2 -- 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 Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Thu, 06 Aug 2020 15:53:49 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-bts[master]: rsl: constify the 'lchan' argument of rsl_tx_conn_fail()
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 Gerrit-MessageType: newchange