aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_hnbap.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-09-07 21:53:25 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-07 22:25:35 +0200
commit3f71256750e7213eebf6282d67e31c0ef82d16e2 (patch)
tree777d5c0457eb448149a25565f3a3cd9a0178e3d6 /src/hnbgw_hnbap.c
parent2204f9d43dbe0bbc6ec1a5e6b4b6a58f23974a2a (diff)
Use implement HNBAP transmit using per-hnb write_queue
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r--src/hnbgw_hnbap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 495c71d..65e5cc9 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -16,7 +16,8 @@
static int hnbgw_hnbap_tx(struct hnb_context *ctx, struct msgb *msg)
{
- /* FIXME */
+ msgb_ppid(msg) = IUH_PPI_HNBAP;
+ return osmo_wqueue_enqueue(&ctx->wqueue, msg);
}
static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)