diff options
author | 2008-11-12 09:52:32 +0000 | |
---|---|---|
committer | 2008-11-16 01:35:45 -0800 | |
commit | 6ff68026f4757d68461b7fbeca5c944e1f5f8b44 (patch) | |
tree | 13285973e74a60ad7f86f5c50d8362a6bcacd426 /lib/check_signature.c | |
parent | via-velocity: enable perfect filtering for multicast packets (diff) | |
download | wireguard-linux-6ff68026f4757d68461b7fbeca5c944e1f5f8b44.tar.xz wireguard-linux-6ff68026f4757d68461b7fbeca5c944e1f5f8b44.zip |
e1000e: Use device_set_wakeup_enable
Since dev->power.should_wakeup bit is used by the PCI core to
decide whether the device should wake up the system from sleep
states, set/unset this bit whenever WOL is enabled/disabled using
e1000_set_wol(). Accordingly, use device_can_wakeup() for checking
if wake-up is supported by the device.
Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/check_signature.c')
0 files changed, 0 insertions, 0 deletions