aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/transaction.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-20 03:03:44 +0100
committergsmevent admin <admin@gsmevent.box>2018-12-24 15:45:51 +0100
commitf1b0fe143ed27cd1394e55e57ebed16eafd98717 (patch)
tree1c549aac18d15ae57aec79efee071d63104040d7 /include/osmocom/msc/transaction.h
parent37944691dedf82c3efe79d8a7aa813db67a4896c (diff)
move trans->assignment_done to cc.assignment_started
The flag is set to true when an assignment has been started, and it is only relevant for a CC transaction. So fix naming and place in cc struct. Cosmetic preparation for I1f8746e7babfcd3028a4d2c0ba260c608c686c76 and I0ba216b737909e92080a722db26e3577726c63cb/ Change-Id: I8dacf46141ba0b664e85b0867ade330c97d8495f
Diffstat (limited to 'include/osmocom/msc/transaction.h')
-rw-r--r--include/osmocom/msc/transaction.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index 0760c077c..74eaf6097 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -52,9 +52,6 @@ struct gsm_trans {
/* bearer capabilities (rate and codec) */
struct gsm_mncc_bearer_cap bearer_cap;
- /* status of the assignment, true when done */
- bool assignment_done;
-
/* if true, TCH_RTP_CREATE is sent after the
* assignment is done */
bool tch_rtp_create;
@@ -71,6 +68,7 @@ struct gsm_trans {
struct osmo_timer_list timer;
struct osmo_timer_list timer_guard;
struct gsm_mncc msg; /* stores setup/disconnect/release message */
+ bool assignment_started;
} cc;
struct {
struct gsm411_smc_inst smc_inst;