From 81effc053b74e1e8dda181a52f6ae94680e83b29 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 15 Aug 2019 18:27:05 +0300 Subject: [PATCH] Bluetooth: Mesh: Fix missing call to send_cb_finalize When sent solely to the Friend Queue the send callbacks were not getting called for unsegmented messages. Signed-off-by: Johan Hedberg --- subsys/bluetooth/mesh/transport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/bluetooth/mesh/transport.c b/subsys/bluetooth/mesh/transport.c index a59612ad395..d8aa366475c 100644 --- a/subsys/bluetooth/mesh/transport.c +++ b/subsys/bluetooth/mesh/transport.c @@ -147,6 +147,7 @@ static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, * out through the Friend Queue. */ net_buf_unref(buf); + send_cb_finalize(cb, cb_data); return 0; } }