aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
author\"Rafael J. Wysocki\ <rjw@sisk.pl>2008-11-07 20:30:37 +0000
committerDavid S. Miller <davem@davemloft.net>2008-11-16 01:35:57 -0800
commite1b86d8479f90aadee57a3d07d8e61c815c202d9 (patch)
tree10be9cab7cc4107d80ce052424abfef37a413d97 /drivers/net/qla3xxx.c
parentde1264896c8012a261c1cba17e6a61199c276ad3 (diff)
igb: 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/unset this bit whenever WOL is enabled/disabled using igb_set_wol(). Accordingly, use device_can_wakeup() for checking if wake-up is supported by the device. Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qla3xxx.c')
0 files changed, 0 insertions, 0 deletions