Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5d57af5 authored by Mallikarjuna R Chilakala's avatar Mallikarjuna R Chilakala Committed by David S. Miller
Browse files

ixgbe: Not allow 8259x unsupported wol options change from ethtool



Wake-on-lan is currently only supported by 82599 KX4 devices, in all
other cases return a proper value from ixgbe_wol_exclusion function call.
Otherwise from ethtool we will be able to change wol options of
unsupported 8259x devices.

Signed-off-by: default avatarMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5da43c1a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1830,7 +1830,6 @@ static int ixgbe_wol_exclusion(struct ixgbe_adapter *adapter,
		break;
	default:
		wol->supported = 0;
		retval = 0;
	}

	return retval;