diff options
author | 2008-06-01 00:54:42 +0200 | |
---|---|---|
committer | 2008-06-28 10:23:35 -0400 | |
commit | 9a60a82600822d34dcbc4df0866ec6ce643c0e79 (patch) | |
tree | 9a6d6e456fbbc76996f8e4d5bb43796006e284c1 /net/core | |
parent | 8139too: some style cleanups (diff) | |
download | wireguard-linux-9a60a82600822d34dcbc4df0866ec6ce643c0e79.tar.xz wireguard-linux-9a60a82600822d34dcbc4df0866ec6ce643c0e79.zip |
Fix forcedeth hibernate/wake-on-lan problems
We currently don't signal the kernel we that this device can wake
the system. Call device_init_wakeup() to correct this.
Without this device_can_wakeup and device_may_wakeup will return
incorrect values.
Together with the minimized acpi wakeup patch (6/4 ;)), which will
follow in the next mail, this really makes wake-on-lan work for me
as expected (i.e. "ethtool -s eth0 wol g" is sufficient, no
additional magic needed).
Signed-off-by: Tobias Diedrich <ranma+kernel@tdiedrich.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions