diff options
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | 2012-10-20 06:04:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-21 22:15:37 -0400 |
commit | 028991e49a706652cfaec06947ef755e6161a5f4 (patch) | |
tree | aeedbb63c2f99e1594179b1ddf8dcabebf072aa9 /drivers | |
parent | dcf7ebba94485304503c42505886bb7be95745b1 (diff) | |
download | linux-028991e49a706652cfaec06947ef755e6161a5f4.tar.bz2 |
be2net: Enabling Wake-on-LAN is not supported in S5 state
be_shutdown is enabling wake-on-lan by calling be_setup_wol.
Emulex adapter do not support wake-on-lan in S5 state.
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 136ed64ae152..ab077fbeeb5b 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -4165,9 +4165,6 @@ static void be_shutdown(struct pci_dev *pdev) netif_device_detach(adapter->netdev); - if (adapter->wol) - be_setup_wol(adapter, true); - be_cmd_reset_function(adapter); pci_disable_device(pdev); |