diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-04-28 11:02:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-02 22:44:17 (GMT) |
commit | 6fdbab9d93e04bfe71f2b3fde485d092e2ffe3ec (patch) | |
tree | cd88b86a5b7b7c9c16f6fbdefd03b9d5310b41c6 /security/selinux/hooks.c | |
parent | 41c31f318a5209922d051e293c61e4724daad11c (diff) | |
download | linux-fsl-qoriq-6fdbab9d93e04bfe71f2b3fde485d092e2ffe3ec.tar.xz |
tg3: Fix failure to enable WoL by default when possible
tg3 is supposed to enable WoL by default on adapters which support
that, but it fails to do so unless the adapter's
/sys/devices/.../power/wakeup file contains 'enabled' during the
initialization of the adapter. Fix that by making tg3 use
device_set_wakeup_enable() to enable wakeup automatically whenever
WoL should be enabled by default.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions