]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IRDA: cnt is off by 1
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 13 Feb 2009 00:42:31 +0000 (16:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Feb 2009 00:42:31 +0000 (16:42 -0800)
commitfb0886745a75ce98bde3aac421adc69fe61a1905
tree8502cf2580bd427656156e4fe20e3fae9d7125ae
parentacdb602fb3b7e13f3ffd2098549fab1bbfccba2f
IRDA: cnt is off by 1

If no prior break occurs, cnt reaches 101 after the loop, so we are still able
to change speed when cnt has become 100.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/mcs7780.c