summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_msc.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 15:10:13 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:28 +0200
commit02cc2b668a8e3fac7167d279cd72a436eccd185f (patch)
treec137b99329c791513846fab8fb329be797506ae7 /openbsc/src/osmo-bsc/osmo_bsc_msc.c
parenta67455f8d8a647611993d09aae656df448da0b0e (diff)
libctrl: Move bulk of node lookup code into libosmocore
Now that the bulk of the control interface node lookup has no reference to the BSC specific data structures, we are moving it into libosmocore. A control interface user now only registers an optional small node lookup function like bsc_ctrl_node_lookup()
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_msc.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_msc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_msc.c b/openbsc/src/osmo-bsc/osmo_bsc_msc.c
index 95bd3a4a0..aebe84741 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_msc.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_msc.c
@@ -218,7 +218,7 @@ static void handle_ctrl(struct osmo_msc_data *msc, struct msgb *msg)
return;
}
- ret = bsc_ctrl_cmd_handle(cmd, msc->network);
+ ret = ctrl_cmd_handle(msc->network->ctrl, cmd, msc->network);
if (ret != CTRL_CMD_HANDLED)
ctrl_cmd_send(&msc->msc_con->write_queue, cmd);
talloc_free(cmd);