summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-03-18 14:00:03 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2016-03-18 14:00:03 +0100
commit19f073575270d8d588e1bdb10767aa545f9e8a00 (patch)
tree981ede7c0648197580af17ad058b453d7f1ce45d
parentffd9968d3ac369e2d60f086f1928b0860ba6e6ca (diff)
cscn: Follow libiu move to generic event handler
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index 30b8fc82c..dc0d192b0 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -322,10 +322,10 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr
return gsm0408_rcvmsg_iucs(cscn_network, msg);
}
-static int handle_rab_ass_resp(struct ue_conn_ctx *ctx, uint8_t rab_id,
- struct RANAP_RAB_SetupOrModifiedItemIEs_s *setup_ies)
+static int handle_iu_event(struct ue_conn_ctx *ctx, int type,
+ void *data)
{
- DEBUGP(DIUCS, "got Iu-CS RAB assignment response for RAB ID %u\n", rab_id);
+ DEBUGP(DIUCS, "got Iu-CS event %u\n", type);
/* TODO: Handle RAB assignment response for UE */
return 0;
@@ -485,7 +485,7 @@ TODO: we probably want some of the _net_ ctrl commands from bsc_base_ctrl_cmds_i
/* TODO: implement A-Interface and remove above legacy stuff. */
/* Set up Iu-CS */
- iu_init(tall_cscn_ctx, "127.0.0.1", 14001, rcvmsg_iu_cs, handle_rab_ass_resp);
+ iu_init(tall_cscn_ctx, "127.0.0.1", 14001, rcvmsg_iu_cs, handle_iu_event);
if (cscn_cmdline_config.daemonize) {
rc = osmo_daemonize();