bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

Bridge reset memory leak fix #127

Closed victorsowa12 closed 3 months ago

victorsowa12 commented 3 months ago

In the rare case that we receive an RX message after the adin thread has been paused, we need to make sure that we do not free the event.data and instead re-submit the RX buffer, just like if we were processing a normal RX message when the adin is on.