aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/irda/smsc-ircc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index 59d79807b4d5..d0797adb5f8e 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -2124,7 +2124,7 @@ static void smsc_ircc_sir_wait_hw_transmitter_finish(struct smsc_ircc_cb *self)
2124 while (count-- > 0 && !(inb(iobase + UART_LSR) & UART_LSR_TEMT)) 2124 while (count-- > 0 && !(inb(iobase + UART_LSR) & UART_LSR_TEMT))
2125 udelay(1); 2125 udelay(1);
2126 2126
2127 if (count == 0) 2127 if (count < 0)
2128 IRDA_DEBUG(0, "%s(): stuck transmitter\n", __func__); 2128 IRDA_DEBUG(0, "%s(): stuck transmitter\n", __func__);
2129} 2129}
2130 2130