Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315107
b: refs/heads/master
c: 849bcaf
h: refs/heads/master
i:
  315105: ecf443f
  315103: 73ad41c
v: v3
  • Loading branch information
Jitendra Kalsaria authored and David S. Miller committed Jul 11, 2012
1 parent 876b1a4 commit d835d60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 206d78e0c5e9eff0b025e54ff2825d90a0df77db
refs/heads/master: 849bcaff80d81d4c4c21935ce989008001447a05
9 changes: 0 additions & 9 deletions trunk/drivers/net/ethernet/qlogic/qlge/qlge_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ static void ql_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol)
static int ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol)
{
struct ql_adapter *qdev = netdev_priv(ndev);
int status;
unsigned short ssys_dev = qdev->pdev->subsystem_device;

/* WOL is only supported for mezz card. */
Expand All @@ -416,14 +415,6 @@ static int ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol)
qdev->wol = wol->wolopts;

netif_info(qdev, drv, qdev->ndev, "Set wol option 0x%x\n", qdev->wol);
if (!qdev->wol) {
u32 wol = 0;
status = ql_mb_wol_mode(qdev, wol);
netif_err(qdev, drv, qdev->ndev, "WOL %s (wol code 0x%x)\n",
status == 0 ? "cleared successfully" : "clear failed",
wol);
}

return 0;
}

Expand Down

0 comments on commit d835d60

Please sign in to comment.