From 6480cadd8e6e9144c417f6600a31eeab36bfae0b Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 6 Jan 2016 18:06:26 +0100 Subject: hnbgw: Use libosmo-netif for SCCP connection handling --- src/hnbgw_rua.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/hnbgw_rua.c') diff --git a/src/hnbgw_rua.c b/src/hnbgw_rua.c index 9885553..4059cf8 100644 --- a/src/hnbgw_rua.c +++ b/src/hnbgw_rua.c @@ -44,7 +44,9 @@ static int hnbgw_rua_tx(struct hnb_context *ctx, struct msgb *msg) return -EINVAL; msgb_sctp_ppid(msg) = IUH_PPI_RUA; - return osmo_wqueue_enqueue(&ctx->wqueue, msg); + osmo_stream_srv_send(ctx->conn, msg); + + return 0; } int rua_tx_udt(struct hnb_context *hnb, const uint8_t *data, unsigned int len) -- cgit v1.2.3