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 <johan.hedberg@intel.com>
This commit is contained in:
parent
78e023cdd5
commit
81effc053b
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu,
|
||||||
* out through the Friend Queue.
|
* out through the Friend Queue.
|
||||||
*/
|
*/
|
||||||
net_buf_unref(buf);
|
net_buf_unref(buf);
|
||||||
|
send_cb_finalize(cb, cb_data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue