summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-04-27 12:54:53 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-05-02 20:13:42 +0200
commit7b03e41e55ab9354b1ccd6acdd96fb7fc648b037 (patch)
tree8dde8bb5ea4da3b8a546994f5b582c0dcc33b49d
parent249130c6b2ce253ee035908efb396643eb47a9d9 (diff)
bsc: Do not forward GSM RR messages to the MSC
This has been addressed more properly in master, here we will just not forward everything that is handled locally.
-rw-r--r--openbsc/src/libbsc/bsc_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c
index 72d5fbe8f..b9e4f0208 100644
--- a/openbsc/src/libbsc/bsc_api.c
+++ b/openbsc/src/libbsc/bsc_api.c
@@ -464,9 +464,11 @@ static void dispatch_dtap(struct gsm_subscriber_connection *conn,
break;
case GSM48_MT_RR_ASS_COMPL:
handle_ass_compl(conn, msg);
+ return;
break;
case GSM48_MT_RR_ASS_FAIL:
handle_ass_fail(conn, msg);
+ return;
break;
case GSM48_MT_RR_CHAN_MODE_MODIF_ACK:
osmo_timer_del(&conn->T10);