layer2_tx: fixed logging
This commit is contained in:
parent
3b7d6baa74
commit
ac0fb54623
|
@ -80,10 +80,11 @@ result_t layer2_tx_fill_packet_queue(layer2_tx_t *ctx)
|
||||||
break;
|
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);
|
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++;
|
||||||
ctx->next_seq_nr &= SEQ_NR_MASK;
|
ctx->next_seq_nr &= SEQ_NR_MASK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue