diff options
Diffstat (limited to 'hw/usb-serial.c')
-rw-r--r-- | hw/usb-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-serial.c b/hw/usb-serial.c index 69f0e44f11..5b2483ab44 100644 --- a/hw/usb-serial.c +++ b/hw/usb-serial.c @@ -449,7 +449,7 @@ static int usb_serial_handle_data(USBDevice *dev, USBPacket *p) /* handle serial break */ if (s->event_trigger && s->event_trigger & FTDI_BI) { s->event_trigger &= ~FTDI_BI; - *data++ = FTDI_BI; + *data = FTDI_BI; ret = 2; break; } else { |