commit | 6480cadd8e6e9144c417f6600a31eeab36bfae0b | [log] [tgz] |
---|---|---|
author | Daniel Willmann <dwillmann@sysmocom.de> | Wed Jan 06 18:06:26 2016 +0100 |
committer | Daniel Willmann <dwillmann@sysmocom.de> | Thu Jan 07 11:01:12 2016 +0100 |
tree | 7a54b170de35d1ff2229a976bdf8a92c77061df0 | |
parent | 8fda362dd8b30e921e8384ebe9f8afa3bed052fa [diff] [blame] |
hnbgw: Use libosmo-netif for SCCP connection handling
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 @@ 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)