Skip to content

Commit 4ec14cc

Browse files
Johan Hedbergnashif
authored andcommitted
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 <[email protected]>
1 parent 07964c2 commit 4ec14cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/host/mesh/transport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu,
147147
* out through the Friend Queue.
148148
*/
149149
net_buf_unref(buf);
150+
send_cb_finalize(cb, cb_data);
150151
return 0;
151152
}
152153
}

0 commit comments

Comments
 (0)