aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/msc_mgcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmsc/msc_mgcp.c')
-rw-r--r--src/libmsc/msc_mgcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmsc/msc_mgcp.c b/src/libmsc/msc_mgcp.c
index 5a8ee7960..8e2e7a97f 100644
--- a/src/libmsc/msc_mgcp.c
+++ b/src/libmsc/msc_mgcp.c
@@ -951,7 +951,7 @@ static struct osmo_fsm fsm_msc_mgcp = {
.event_names = msc_mgcp_fsm_evt_names,
};
-/* Try to invoke call assignment and set trans->assignment_done flag if invoked.
+/* Try to invoke call assignment and set trans->cc.assignment_started flag if invoked.
* This is relevant for already ongoing calls -- scenario:
* - subscriber is in an active voice call,
* - another call is coming in.
@@ -960,10 +960,10 @@ static struct osmo_fsm fsm_msc_mgcp = {
int msc_mgcp_try_call_assignment(struct gsm_trans *trans)
{
struct ran_conn *conn = trans->conn;
- if (trans->assignment_done)
+ if (trans->cc.assignment_started)
return 0;
LOGPFSMSL(conn->fi, DMGCP, LOGL_INFO, "Starting call assignment\n");
- trans->assignment_done = true;
+ trans->cc.assignment_started = true;
return msc_mgcp_call_assignment(trans);
}