fix(ble_mesh): remove tx pending assert

This commit is contained in:
luoxu
2025-04-23 14:11:00 +08:00
parent a7d6b07851
commit 8493d2b42b

View File

@@ -330,8 +330,9 @@ static void schedule_retransmit(struct seg_tx *tx)
* the seg_pending of this segment.
* See BLEMESH25-92 for details */
if (tx->dst == BLE_MESH_ADDR_UNASSIGNED) {
assert(tx->seg_pending == 1);
tx->seg_pending = 0;
if (tx->seg_pending) {
tx->seg_pending--;
}
return;
}