From 19f073575270d8d588e1bdb10767aa545f9e8a00 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Fri, 18 Mar 2016 14:00:03 +0100 Subject: cscn: Follow libiu move to generic event handler --- openbsc/src/osmo-cscn/cscn_main.c | 8 ++++---- 1 file 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(); -- cgit v1.2.3