]> git.baikalelectronics.ru Git - kernel.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)
commit95fd3502e2f2a33a889e3d1c3401b8572c21fa31
tree8502cf2580bd427656156e4fe20e3fae9d7125ae
parent74abe7e3c53104acc1b70285dde620809bdc953b
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