diff --git a/tests/rftest-tx.c b/tests/rftest-tx.c index d4d77a258..ae7bf89c6 100644 --- a/tests/rftest-tx.c +++ b/tests/rftest-tx.c @@ -93,6 +93,10 @@ void main(void) { /* a few lockup conditions */ check_maca(); + while((p = rx_packet())) { + if(p) free_packet(p); + } + p = get_free_packet(); if(p) { fill_packet(p);