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)
commit1d5109d18757d8d6450905275bf362819781368c
tree6c80774983956a3d777e4f9bed28348eefca2727
parent22e05bd6f7949d3e638c9f4697a2198a19fff312
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