Revision 5628a626

b/hw/serial.c
191 191

  
192 192
    if ((s->ier & UART_IER_RLSI) && (s->lsr & UART_LSR_INT_ANY)) {
193 193
        tmp_iir = UART_IIR_RLSI;
194
    } else if (s->timeout_ipending) {
194
    } else if ((s->ier & UART_IER_RDI) && s->timeout_ipending) {
195 195
        tmp_iir = UART_IIR_CTI;
196 196
    } else if ((s->ier & UART_IER_RDI) && (s->lsr & UART_LSR_DR)) {
197 197
        if (!(s->fcr & UART_FCR_FE)) {

Also available in: Unified diff