Skip to content
Commit c17931c5 authored by Steffen Klassert's avatar Steffen Klassert Committed by David S. Miller
Browse files

3c59x: 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 this bit by calling device_set_wakeup_enable().

This restores proper WOL for the 3c59x driver.

Reported-and-tested-by: default avatarGraeme Wilford <gwilford@gmail.com>
Reported-by: default avatarGunnar Degnbol <degnbol@danbbs.dk>
Signed-off-by: default avatarSteffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3d58cefd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment