mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 02:26:44 +07:00
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>
This commit is contained in:
parent
dcf7ebba94
commit
028991e49a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user