]> 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)
commit06cf67621c142a290821393267ca9e2392c931ea
tree6c80774983956a3d777e4f9bed28348eefca2727
parent760844a9bf1998e434dbc7e8574ca069d7b0b267
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