]> err.no Git - linux-2.6/commit
[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)
commitf735a2a1a4f2a0f5cd823ce323e82675990469e2
treeff5c6351b31252903fbf318c283e9686c9a11aeb
parent2914f3efa7ef80f12ff798cb1aa46af57838f912
[netdrvr] forcedeth: setup wake-on-lan before shutting down

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>
drivers/net/forcedeth.c