diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-04 16:59:37 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-30 20:30:39 +0200 |
commit | 784ca9c17969a18aabcde5b2278f1db4592b174d (patch) | |
tree | 33ae9312ea4094a645bae0b7ebcfaa56943b026f /openbsc/src | |
parent | b7849987e516eb3bf102b29298ecc103b8b24d53 (diff) |
bsc: Require osmo-sccp 0.0.6 and update the API
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_msc.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_sccp.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_msc.c b/openbsc/src/osmo-bsc/osmo_bsc_msc.c index 2a322271d..14a88d91f 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_msc.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_msc.c @@ -376,7 +376,7 @@ static void initialize_if_needed(struct bsc_msc_connection *conn) return; } - sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0); + sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0, NULL); msgb_free(msg); conn->is_authenticated = 1; } diff --git a/openbsc/src/osmo-bsc/osmo_bsc_sccp.c b/openbsc/src/osmo-bsc/osmo_bsc_sccp.c index f4cdf3637..c17690831 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_sccp.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_sccp.c @@ -137,9 +137,10 @@ static void sccp_cc_timeout(void *_data) bsc_sccp_force_free(data); } -static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg, void *data) +static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg, + void *global_ctx, void *ctx) { - struct gsm_network *net = (struct gsm_network *) data; + struct gsm_network *net = (struct gsm_network *) global_ctx; msc_queue_write(net->msc_data->msc_con, msg, IPAC_PROTO_SCCP); } |