char/serial: fix copy&paste error (fifo8_is_full vs empty)
commitb165b0d8e62bb65a02d7670d75ebb77a9280bde1
authorVladimir Senkov <hangup@gmail.com>
Mon, 17 Jun 2013 00:30:52 +0000 (16 20:30 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 17 Jun 2013 08:57:50 +0000 (17 12:57 +0400)
tree4d821bcc203a147c768c083d72b24ea7aeb65dae
parent616404cd42db5f683d49772dcc2c53c8f6466024
char/serial: fix copy&paste error (fifo8_is_full vs empty)

Copy&paste error in serial.c causes a crash when attempting
to read from UART (if there is no data to be read)

Signed-off-by: Vladimir Senkov <hangup@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/char/serial.c