commit | 1b8e90a73565fd11870f09f0a71163c9857e9083 | [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 | 5f2184ce7e89d5b38d8b6c05639c761857d6e9c8 [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; }