aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/lchan_rtp_fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bsc/lchan_rtp_fsm.c')
-rw-r--r--src/osmo-bsc/lchan_rtp_fsm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index bf734299e..dd42fc427 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -256,7 +256,7 @@ static void lchan_rtp_fsm_wait_ipacc_crcx_ack_onenter(struct osmo_fsm_inst *fi,
int val;
struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi);
- if (lchan->release_requested) {
+ if (lchan->release.release_requested) {
lchan_rtp_fail("Release requested while activating");
return;
}
@@ -324,7 +324,7 @@ static void lchan_rtp_fsm_wait_ipacc_mdcx_ack_onenter(struct osmo_fsm_inst *fi,
struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi);
const struct mgcp_conn_peer *mgw_rtp;
- if (lchan->release_requested) {
+ if (lchan->release.release_requested) {
lchan_rtp_fail("Release requested while activating");
return;
}
@@ -439,7 +439,7 @@ static void lchan_rtp_fsm_wait_mgw_endpoint_configured_onenter(struct osmo_fsm_i
struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi);
struct gsm_lchan *old_lchan = lchan->activate.re_use_mgw_endpoint_from_lchan;
- if (lchan->release_requested) {
+ if (lchan->release.release_requested) {
lchan_rtp_fail("Release requested while activating");
return;
}
@@ -724,7 +724,7 @@ static const struct value_string lchan_rtp_fsm_event_names[] = {
int lchan_rtp_fsm_timer_cb(struct osmo_fsm_inst *fi)
{
struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi);
- lchan->release_in_error = true;
+ lchan->release.release_in_error = true;
lchan_rtp_fail("Timeout");
return 0;
}