niu: timeout ignored in tcam_wait_bit()
authorroel kluin <roel.kluin@gmail.com>
Sun, 27 Dec 2009 04:10:59 +0000 (04:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 05:42:52 +0000 (21:42 -0800)
commitd2a928e4bfc75170af641f073475fc974cf176c2
treeaecef34e4acc840abcfefa6656640f7cc3781aa7
parente145b98484f5c7444151e90cc0853f14e6d396a4
niu: timeout ignored in tcam_wait_bit()

With `while (--limit > 0)' i reaches 0 after the loop, so upon timeout the
error was not returned.

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