Commit 4a2f6c17 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik

Fix jiffies-comparison timeout bug in arlan net driver.

parent de8b061e
......@@ -677,7 +677,7 @@ static void arlan_registration_timer(unsigned long data)
arlan_retransmit_now(dev);
}
if (!registrationBad(dev) &&
priv->tx_done_delayed < jiffies &&
time_after(jiffies, priv->tx_done_delayed) &&
priv->tx_done_delayed != 0)
{
TXLAST(dev).offset = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment