[netdrvr] forcedeth: setup wake-on-lan before shutting down
authorTobias Diedrich <ranma+kernel@tdiedrich.de>
Sun, 18 May 2008 13:02:37 +0000 (15:02 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 31 May 2008 02:18:49 +0000 (22:18 -0400)
When hibernating in 'shutdown' mode, after saving the image the suspend hook
is not called again.
However, if the device is in promiscous mode, wake-on-lan will not work.
This adds a shutdown hook to setup wake-on-lan before the final shutdown.

Signed-off-by: Tobias Diedrich <ranma+kernel@tdiedrich.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found