kopia lustrzana https://github.com/espressif/esp-idf
fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement
Closes: https://github.com/espressif/esp-idf/issues/13384pull/13550/head
rodzic
ca201b83ec
commit
22f3006dd1
|
@ -368,7 +368,6 @@ static void seg_tx_reset(struct seg_tx *tx)
|
|||
tx->cb_data = NULL;
|
||||
tx->seq_auth = 0U;
|
||||
tx->sub = NULL;
|
||||
tx->seg_n = 0;
|
||||
tx->last_seg_n = 0;
|
||||
tx->lsn_updated = 0;
|
||||
tx->dst = BLE_MESH_ADDR_UNASSIGNED;
|
||||
|
@ -385,6 +384,7 @@ static void seg_tx_reset(struct seg_tx *tx)
|
|||
}
|
||||
|
||||
tx->nack_count = 0U;
|
||||
tx->seg_n = 0;
|
||||
|
||||
bt_mesh_seg_tx_unlock();
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue