From 227837623c941acd272904ffe715016829ca45bb Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Sun, 22 Sep 2024 18:46:32 +0200 Subject: [PATCH] Remove empty packet from queue after burst was transmitted --- impl/test/layer2_over_udp/l2udptest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/impl/test/layer2_over_udp/l2udptest.c b/impl/test/layer2_over_udp/l2udptest.c index bf7d522..82d7efd 100644 --- a/impl/test/layer2_over_udp/l2udptest.c +++ b/impl/test/layer2_over_udp/l2udptest.c @@ -288,6 +288,8 @@ int main(int argc, char **argv) RESULT_CHECK(transmit(packet_buf, packet_size)); } + connection_tx_clean_empty_packet(&l2conn); + LOG(LVL_DEBUG, "Burst finished: %zd packets sent.", burst_len); if(!on_air) {