Skip to content

Commit

Permalink
be2net: Enabling Wake-on-LAN is not supported in S5 state
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Padmanabh Ratnakar authored and David S. Miller committed Oct 22, 2012
1 parent dcf7ebb commit 028991e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 028991e

Please sign in to comment.