aboutsummaryrefslogtreecommitdiff
path: root/hw/ccid-card-passthru.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:28 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:15 -0500
commit2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce (patch)
treeb9a5883e50ebcee0f3f506de1523b84a597f6e8f /hw/ccid-card-passthru.c
parent0bf1dbdcc935dfc220a93cd990e947e90706aec6 (diff)
char: rename qemu_chr_write() -> qemu_chr_fe_write()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ccid-card-passthru.c')
-rw-r--r--hw/ccid-card-passthru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c
index 28eb9d18f8..082fd82cf9 100644
--- a/hw/ccid-card-passthru.c
+++ b/hw/ccid-card-passthru.c
@@ -72,8 +72,8 @@ static void ccid_card_vscard_send_msg(PassthruState *s,
scr_msg_header.type = htonl(type);
scr_msg_header.reader_id = htonl(reader_id);
scr_msg_header.length = htonl(length);
- qemu_chr_write(s->cs, (uint8_t *)&scr_msg_header, sizeof(VSCMsgHeader));
- qemu_chr_write(s->cs, payload, length);
+ qemu_chr_fe_write(s->cs, (uint8_t *)&scr_msg_header, sizeof(VSCMsgHeader));
+ qemu_chr_fe_write(s->cs, payload, length);
}
static void ccid_card_vscard_send_apdu(PassthruState *s,