mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'fix/ble_mesh_trans_pending_fix_v5.4' into 'release/v5.4'
fix(ble_mesh): remove tx pending assert (v5.4) See merge request espressif/esp-idf!38936
This commit is contained in:
@ -388,8 +388,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user