mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
fix(ble_mesh): remove tx pending assert
This commit is contained in:
@ -388,8 +388,9 @@ static void schedule_retransmit(struct seg_tx *tx)
|
|||||||
* the seg_pending of this segment.
|
* the seg_pending of this segment.
|
||||||
* See BLEMESH25-92 for details */
|
* See BLEMESH25-92 for details */
|
||||||
if (tx->dst == BLE_MESH_ADDR_UNASSIGNED) {
|
if (tx->dst == BLE_MESH_ADDR_UNASSIGNED) {
|
||||||
assert(tx->seg_pending == 1);
|
if (tx->seg_pending) {
|
||||||
tx->seg_pending = 0;
|
tx->seg_pending--;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user