/* Finish current tx buffer and make it ready for transmit.  */
static void __lcs_emit_txbuffer(struct lcs_card *card)
/* Finish current tx buffer and make it ready for transmit.  */
static void __lcs_emit_txbuffer(struct lcs_card *card)
{
	LCS_DBF_TEXT(5, trace, "emittx");
	*(__u16 *)(card->tx_buffer->data + card->tx_buffer->count) = 0;
	card->tx_buffer->count += 2;
	lcs_ready_buffer(&card->write, card->tx_buffer);
	card->tx_buffer = NULL;
	card->tx_emitted++;
}