aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_msc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-04 17:34:02 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-03-16 11:56:10 +0100
commit44e5dad3e25ed8aa200bd6229f2d4d94b8326123 (patch)
tree732902eb51d38e0d9641729f3732be262317c928 /openbsc/src/osmo-bsc/osmo_bsc_msc.c
parentabd668a68d2f7d948b39cf90b04b519f91367a98 (diff)
bsc: Use the right connection for outgoing packets
This is needed for simple UDT messages where we do not have a SCCP connection.
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 1ed0199c3..b2962a978 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_msc.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_msc.c
@@ -414,7 +414,7 @@ static void initialize_if_needed(struct bsc_msc_connection *conn)
return;
}
- sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0, NULL);
+ sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0, conn);
msgb_free(msg);
conn->is_authenticated = 1;
}