aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-08 18:49:23 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-15 20:06:49 +0100
commitcf256d678f0a76055f7820cce16293e13c1b914c (patch)
treeba1248504a89672537058fb9d2269cedb51ce0b6 /openbsc
parent933daaa01656109e63040446725e05fe7d32d118 (diff)
bsc: Implement sending a SCCP CR with the complete layer3 data
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc/osmo_bsc_sccp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_sccp.c b/openbsc/src/bsc/osmo_bsc_sccp.c
index 9680267d5..a30708b98 100644
--- a/openbsc/src/bsc/osmo_bsc_sccp.c
+++ b/openbsc/src/bsc/osmo_bsc_sccp.c
@@ -209,8 +209,10 @@ int bsc_create_new_connection(struct gsm_subscriber_connection *conn)
int bsc_open_connection(struct osmo_bsc_sccp_con *conn, struct msgb *msg)
{
- LOGP(DMSC, LOGL_ERROR, "Not implemented yet.\n");
- return -1;
+ bsc_schedule_timer(&conn->sccp_cc_timeout, 10, 0);
+ sccp_connection_connect(conn->sccp, &sccp_ssn_bssap, msg);
+ msgb_free(msg);
+ return 0;
}
int bsc_delete_connection(struct osmo_bsc_sccp_con *sccp)