aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_rua.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-01-06 18:06:26 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2016-01-07 11:01:12 +0100
commit6480cadd8e6e9144c417f6600a31eeab36bfae0b (patch)
tree7a54b170de35d1ff2229a976bdf8a92c77061df0 /src/hnbgw_rua.c
parent8fda362dd8b30e921e8384ebe9f8afa3bed052fa (diff)
hnbgw: Use libosmo-netif for SCCP connection handling
Diffstat (limited to 'src/hnbgw_rua.c')
-rw-r--r--src/hnbgw_rua.c4
1 files changed, 3 insertions, 1 deletions
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)