Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203345
b: refs/heads/master
c: 8d420a1
h: refs/heads/master
i:
  203343: 0bedc9e
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Jul 2, 2010
1 parent 475c8fc commit a82c8a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: c0f2276f3601a96b29d4347c5938e9494e8e4e5d
refs/heads/master: 8d420a1b3ea65357b6eb59e4e742248d2838e904
8 changes: 3 additions & 5 deletions trunk/drivers/net/igb/igb_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1823,12 +1823,10 @@ static void igb_diag_test(struct net_device *netdev,
dev_info(&adapter->pdev->dev, "online testing starting\n");

/* PHY is powered down when interface is down */
if (!netif_carrier_ok(netdev)) {
if (if_running && igb_link_test(adapter, &data[4]))
eth_test->flags |= ETH_TEST_FL_FAILED;
else
data[4] = 0;
} else {
if (igb_link_test(adapter, &data[4]))
eth_test->flags |= ETH_TEST_FL_FAILED;
}

/* Online tests aren't run; pass by default */
data[0] = 0;
Expand Down

0 comments on commit a82c8a8

Please sign in to comment.