]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: enable WoL operation if config bit show WoL capable
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 26 Aug 2015 19:14:08 +0000 (15:14 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Oct 2015 20:29:14 +0000 (13:29 -0700)
commitf87a63870b3709df790cf8a7670e1ffa14f5b6ef
tree6c80774983956a3d777e4f9bed28348eefca2727
parent3064b235df62b46a48caac3bfa3d4a35793410f7
i40e: enable WoL operation if config bit show WoL capable

The driver was disabling Wake-on-LAN by default and waiting for the user
to expressly turn it on.  This patch has the driver turning on WoL from
the start if enabled in the hardware config, which matches the behavior
of our other drivers.

Change-ID: I43faedb907f8ba4d1a61b72a7c86072b97af12b1
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c