smsc9420: fix another postfixed timeout
authorSteve Glendinning <steve.glendinning@smsc.com>
Mon, 16 Feb 2009 07:46:06 +0000 (07:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Feb 2009 08:35:08 +0000 (00:35 -0800)
commit9df8f4e3ee760c14211a5f484e9ee4f0bc0c566b
treed0262254d16becb4867cf6883108b3998891e123
parent494ef10ebacc23679350a17483879366d8bafebd
smsc9420: fix another postfixed timeout

Roel Kluin recently fixed several instances where variables reach -1,
but 0 is tested afterwards.  This patch fixes another, so the timeout
will be correctly detected and a warning printed.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc9420.c