aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_hnbap.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_hnbap.c
parent8fda362dd8b30e921e8384ebe9f8afa3bed052fa (diff)
hnbgw: Use libosmo-netif for SCCP connection handling
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r--src/hnbgw_hnbap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 4d7870e..6bc09d9 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -43,7 +43,9 @@ static int hnbgw_hnbap_tx(struct hnb_context *ctx, struct msgb *msg)
return -EINVAL;
msgb_sctp_ppid(msg) = IUH_PPI_HNBAP;
- return osmo_wqueue_enqueue(&ctx->wqueue, msg);
+ osmo_stream_srv_send(ctx->conn, msg);
+
+ return 0;
}
static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)