commit | cc48fb80836defe5beeba4b4c9bcc7f895af5ec5 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Nov 05 11:10:46 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Nov 15 20:06:48 2010 +0100 |
tree | e2fb2ddb0d07cc265b3cbf68cadcb59a4cbe9dd7 | |
parent | 46c5ab3624c0008b9eec0a1f6eed4f99dbc11211 [diff] [blame] |
bsc: Call into the SCCP layer to create a new connection.
diff --git a/openbsc/src/bsc/osmo_bsc_api.c b/openbsc/src/bsc/osmo_bsc_api.c index 0fe6bd2..dc31cd4 100644 --- a/openbsc/src/bsc/osmo_bsc_api.c +++ b/openbsc/src/bsc/osmo_bsc_api.c
@@ -66,6 +66,8 @@ static int bsc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t chosen_channel) { + if (bsc_create_new_connection(conn, msg, chosen_channel) == 0) + return BSC_API_CONN_POL_ACCEPT; return BSC_API_CONN_POL_REJECT; }