i40e: fix WoL support check
authorStefan Assmann <sassmann@kpanic.de>
Thu, 21 Mar 2019 12:45:35 +0000 (13:45 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 26 Mar 2019 23:16:55 +0000 (16:16 -0700)
commitf669d24f3dd00beab452c0fc9257f6a942ffca9b
treec76e99ca30016438ff52a40d258247001097affa
parent7ec52b9df7d7472240fa96223185894b1897aeb0
i40e: fix WoL support check

The current check for WoL on i40e is broken. Code comment says only
magic packet is supported, so only check for that.

Fixes: 540a152da762 (i40e/ixgbe/igb: fail on new WoL flag setting WAKE_MAGICSECURE)
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c