aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo_msc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 15:34:16 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 15:36:08 +0800
commit02d39b2c4d3f67ef760b230d95cb1e6d7c07e8f7 (patch)
treeded7f9bb77b9479eac70333f5a222f058cdd41c5 /openbsc/src/osmo_msc.c
parentd1d45b3b8918e27d1292ded0815a6514f455913a (diff)
msc: Create a dummy operation to keep the channel open for five seconds
* We should create the transaction for SMS, CC on the CM Service Request but for now we will use a band aid and create a dummy operarion to wait five seconds for the transaction to be opened.
Diffstat (limited to 'openbsc/src/osmo_msc.c')
-rw-r--r--openbsc/src/osmo_msc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/osmo_msc.c b/openbsc/src/osmo_msc.c
index 6a94e7abb..6543a61dc 100644
--- a/openbsc/src/osmo_msc.c
+++ b/openbsc/src/osmo_msc.c
@@ -44,6 +44,7 @@ static void msc_clear_request(struct gsm_subscriber_connection* conn, uint32_t c
static int msc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg,
uint16_t chosen_channel)
{
+ gsm0408_new_conn(conn);
gsm0408_dispatch(conn, msg);
/* TODO: do better */
@@ -80,7 +81,7 @@ void msc_release_connection(struct gsm_subscriber_connection *conn)
return;
/* check if there is a pending operation */
- if (conn->loc_operation || conn->sec_operation)
+ if (conn->loc_operation || conn->sec_operation || conn->anch_operation)
return;
llist_for_each_entry(trans, &conn->bts->network->trans_list, entry) {