r8152: remove the setting of LAN_WAKE_EN
authorhayeswang <hayeswang@realtek.com>
Wed, 6 Jul 2016 09:35:59 +0000 (17:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 03:47:28 +0000 (23:47 -0400)
commit92f7d07d68c1dfcbb80b3259f29dad8efe890803
treef75fedffcf7ad2da2599e1ed85dc9d6664e0075e
parent205e1e255c479f3fd77446415706463b282f94e4
r8152: remove the setting of LAN_WAKE_EN

The LAN_WAKE_EN is not used to determine if the device could support
WOL. It is used to signal a GPIO pin when a WOL event occurs. The WOL
still works even though it is disabled.

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