mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/IDFGH-12353_v5.2' into 'release/v5.2'
fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement_v5.2 See merge request espressif/esp-idf!29780
This commit is contained in:
commit
3139589b7c
@ -368,7 +368,6 @@ static void seg_tx_reset(struct seg_tx *tx)
|
|||||||
tx->cb_data = NULL;
|
tx->cb_data = NULL;
|
||||||
tx->seq_auth = 0U;
|
tx->seq_auth = 0U;
|
||||||
tx->sub = NULL;
|
tx->sub = NULL;
|
||||||
tx->seg_n = 0;
|
|
||||||
tx->last_seg_n = 0;
|
tx->last_seg_n = 0;
|
||||||
tx->lsn_updated = 0;
|
tx->lsn_updated = 0;
|
||||||
tx->dst = BLE_MESH_ADDR_UNASSIGNED;
|
tx->dst = BLE_MESH_ADDR_UNASSIGNED;
|
||||||
@ -385,6 +384,7 @@ static void seg_tx_reset(struct seg_tx *tx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
tx->nack_count = 0U;
|
tx->nack_count = 0U;
|
||||||
|
tx->seg_n = 0;
|
||||||
|
|
||||||
bt_mesh_seg_tx_unlock();
|
bt_mesh_seg_tx_unlock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user