Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27208
b: refs/heads/master
c: f05267e
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Linus Torvalds committed Jun 13, 2006
1 parent 715d0d6 commit 2a0fc97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2ccc99b7b71976d15822ae7c41cd2ccda66d5076
refs/heads/master: f05267e7dee58741a4feb20d0351706ec64bb0b5
4 changes: 2 additions & 2 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3430,7 +3430,7 @@ static int sky2_suspend(struct pci_dev *pdev, pm_message_t state)
if (!(pstate == PCI_D3hot || pstate == PCI_D3cold))
return -EINVAL;

for (i = 0; i < 2; i++) {
for (i = 0; i < hw->ports; i++) {
struct net_device *dev = hw->dev[i];

if (dev) {
Expand Down Expand Up @@ -3460,7 +3460,7 @@ static int sky2_resume(struct pci_dev *pdev)
if (err)
goto out;

for (i = 0; i < 2; i++) {
for (i = 0; i < hw->ports; i++) {
struct net_device *dev = hw->dev[i];
if (dev && netif_running(dev)) {
netif_device_attach(dev);
Expand Down

0 comments on commit 2a0fc97

Please sign in to comment.