layer2_tx: fixed logging

This commit is contained in:
Thomas Kolb 2024-07-20 01:01:35 +02:00
parent 3b7d6baa74
commit ac0fb54623

View file

@ -80,10 +80,11 @@ result_t layer2_tx_fill_packet_queue(layer2_tx_t *ctx)
break;
}
LOG(LVL_INFO, "Adding packet tx_seq %u to queue -> %zu entries",
header.tx_seq_nr, packet_queue_get_used_space(&ctx->packet_queue));
packet_queue_add(&ctx->packet_queue, &header, packetbuf, ret);
LOG(LVL_INFO, "Added packet tx_seq %u to queue -> %zu entries",
header.tx_seq_nr, packet_queue_get_used_space(&ctx->packet_queue));
ctx->next_seq_nr++;
ctx->next_seq_nr &= SEQ_NR_MASK;
}