mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 07:42:07 +00:00
i40e: use WoL flag when setting LAA
Make sure the Firmware sets up the LAA as a Wake-On-LAN address. Change-ID: I57b9acd8c288424fcfed0911053eb725c400b41c Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
1ac978af7c
commit
cc41222c55
@ -1337,7 +1337,7 @@ static int i40e_set_mac(struct net_device *netdev, void *p)
|
||||
if (vsi->type == I40E_VSI_MAIN) {
|
||||
i40e_status ret;
|
||||
ret = i40e_aq_mac_address_write(&vsi->back->hw,
|
||||
I40E_AQC_WRITE_TYPE_LAA_ONLY,
|
||||
I40E_AQC_WRITE_TYPE_LAA_WOL,
|
||||
addr->sa_data, NULL);
|
||||
if (ret) {
|
||||
netdev_info(netdev,
|
||||
|
Loading…
Reference in New Issue
Block a user