Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200874
b: refs/heads/master
c: 72046d8
h: refs/heads/master
v: v3
  • Loading branch information
Breno Leitao authored and David S. Miller committed Jul 3, 2010
1 parent f260744 commit 66fafcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dacca73a3ddefa6cb8a7e0282f938e01faa1a64
refs/heads/master: 72046d84f0d6e3047f4d5a5173260141983b2b61
9 changes: 3 additions & 6 deletions trunk/drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4611,8 +4611,7 @@ static void ql_timer(unsigned long data)
return;
}

qdev->timer.expires = jiffies + (5*HZ);
add_timer(&qdev->timer);
mod_timer(&qdev->timer, jiffies + (5*HZ));
}

static int __devinit qlge_probe(struct pci_dev *pdev,
Expand Down Expand Up @@ -4808,8 +4807,7 @@ static void qlge_io_resume(struct pci_dev *pdev)
netif_err(qdev, ifup, qdev->ndev,
"Device was not running prior to EEH.\n");
}
qdev->timer.expires = jiffies + (5*HZ);
add_timer(&qdev->timer);
mod_timer(&qdev->timer, jiffies + (5*HZ));
netif_device_attach(ndev);
}

Expand Down Expand Up @@ -4871,8 +4869,7 @@ static int qlge_resume(struct pci_dev *pdev)
return err;
}

qdev->timer.expires = jiffies + (5*HZ);
add_timer(&qdev->timer);
mod_timer(&qdev->timer, jiffies + (5*HZ));
netif_device_attach(ndev);

return 0;
Expand Down

0 comments on commit 66fafcd

Please sign in to comment.