]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:12 +0000 (08:32 -0800)
commitf51270baf2809aedb0de2698db02924afd0b9cc8
tree5efd1462b4350c6aedda8dd9da5e2c2ba2b6711b
parent1ff3426e5d6e0e2635e27803927f06c353af769e
i40e: enable WoL operation if config bit show WoL capable

Orabug: 22342532

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>
(cherry picked from commit 1d5109d18757d8d6450905275bf362819781368c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c