hisax: timeout off by one in waitrecmsg()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 2 Feb 2010 12:43:44 +0000 (12:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 04:16:46 +0000 (20:16 -0800)
commite23e11792a77c7d54f363841cd5e33074fb0c8c9
tree0d3cf838f24f20ac1e370f904af11b88c2e23a47
parent4bbd1a1903639f826215d76af74f4901efc34daa
hisax: timeout off by one in waitrecmsg()

With `while (timeout++ < maxdelay)' timeout reaches maxdelay + 1 after the
loop This is probably unlikely a problem in practice.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/isar.c