aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/iu_cs.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-12 14:43:27 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:10 +0100
commit292f1ce533e0e93dda1d05b178261fc807c8c0c8 (patch)
tree9ef8003c4ecaed2cfcc437a93c817865cc450202 /openbsc/src/libmsc/iu_cs.c
parent23e7f28c5c77a57aad5331c5e27b29e2eccfe7c3 (diff)
mscsplit: fix compilation and comments. move msc_api.h.
Diffstat (limited to 'openbsc/src/libmsc/iu_cs.c')
-rw-r--r--openbsc/src/libmsc/iu_cs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/openbsc/src/libmsc/iu_cs.c b/openbsc/src/libmsc/iu_cs.c
index b0426e82c..e66a3c1df 100644
--- a/openbsc/src/libmsc/iu_cs.c
+++ b/openbsc/src/libmsc/iu_cs.c
@@ -4,12 +4,9 @@
#include <openbsc/debug.h>
#include <openbsc/gsm_data.h>
+#include <openbsc/msc_api.h>
#include <openbsc/iu.h>
-#include <openbsc/bsc_api.h> /* for BSC_API_CONN_POL_ACCEPT, TODO move that to libmsc */
-
-#include "../libmsc/msc_api.h"
-
/* For A-interface see libbsc/bsc_api.c subscr_con_allocate() */
struct gsm_subscriber_connection *subscr_conn_allocate_iu(struct gsm_network *network,
struct ue_conn_ctx *ue)
@@ -97,7 +94,7 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg)
abort();
rc = msc_compl_l3(conn, msg, 0);
- if (rc != BSC_API_CONN_POL_ACCEPT) {
+ if (rc != MSC_CONN_ACCEPT) {
subscr_con_free(conn);
rc = -1;
}