commit | 4fbc5b20e2715997a1b5e634543e8cac9aa36d4c | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Sat Jan 19 01:32:01 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 20 23:11:57 2013 -0500 |
tree | 2725ff67837bcac30cefdf3e7e763d52eda62d41 | |
parent | 546bfedbe604baeb5a03736593bb95c9aa56bcfa [diff] |
usbnet: pegasus: set wakeup enable in set_wol This patch calls device_set_wakeup_enable() inside set_wol callback, so that turning on WOL from user mode utility can make the 'wakeup' of pegasus device to be enabled, then remote wakeup may be enabled before putting into sleep. Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: Petko Manolov <petkan@users.sourceforge.net> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>