r8152: fix wakeup settings
authorhayeswang <hayeswang@realtek.com>
Fri, 24 Jul 2015 05:54:24 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:56:38 +0000 (00:56 -0700)
commit7daed8dc2a4b48c5a7ea5b3243d01837ec1aed0a
tree5d68a06f03492a1178475a595d55cf86250a30b3
parentb214396fb5890af58ff04b42deba7de5a2686338
r8152: fix wakeup settings

Avoid the driver to enable WOL if the device doesn't support it.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c