diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-06 23:56:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:49 +0100 |
commit | 57d304871e678a8da6a9191e52764cec569bdfb3 (patch) | |
tree | a06f25d4331250477e2050b456896c29e7a314bb /openbsc | |
parent | 00f4cc22c8a51c076b4a6a8103d4fddaa5efb3c4 (diff) |
bsc: Implement writing out UDT messages to a MSC Connection
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/bsc/osmo_bsc_sccp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_sccp.c b/openbsc/src/bsc/osmo_bsc_sccp.c index ab0112b18..6fc686906 100644 --- a/openbsc/src/bsc/osmo_bsc_sccp.c +++ b/openbsc/src/bsc/osmo_bsc_sccp.c @@ -25,6 +25,7 @@ #include <openbsc/osmo_bsc_grace.h> #include <openbsc/osmo_msc_data.h> #include <openbsc/debug.h> +#include <openbsc/ipaccess.h> #include <openbsc/signal.h> #include <osmocore/gsm0808.h> @@ -83,8 +84,8 @@ static void sccp_cc_timeout(void *_data) static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg, void *data) { - LOGP(DMSC, LOGL_ERROR, "Writing is not implemented.\n"); - msgb_free(msg); + struct gsm_network *net = (struct gsm_network *) data; + msc_queue_write(net->msc_data->msc_con, msg, IPAC_PROTO_SCCP); } static int msc_sccp_accept(struct sccp_connection *connection, void *data) |